-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
86 lines (86 loc) · 2.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@nilfoundation/niljs",
"author": "=nil; Foundation",
"version": "0.21.0",
"repository": {
"type": "git",
"url": "git+https://github.com/NilFoundation/nil.js.git"
},
"homepage": "https://github.com/NilFoundation/nil.js.git#README.md",
"bugs": "https://github.com/NilFoundation/nil.js/issues",
"engines": {
"node": ">=18.0.0"
},
"type": "module",
"main": "dist/niljs.cjs",
"module": "dist/niljs.esm.js",
"files": [
"dist"
],
"types": "dist/niljs.d.ts",
"exports": {
".": {
"types": "./dist/niljs.d.ts",
"import": "./dist/niljs.esm.js",
"require": "./dist/niljs.cjs"
}
},
"sideEffects": false,
"description": "Typescript library to interact with the Nil blockchain. Can be used in the browser or in Node.js.",
"scripts": {
"test:unit": "CI=true vitest -c ./test/vitest.config.ts",
"test:integration": "CI=true vitest -c ./test/vitest.integration.config.ts --isolate false",
"test:coverage": "CI=true vitest -c ./test/vitest.config.ts --coverage",
"test:examples": "ls ./examples | xargs -I {} tsx ./examples/{}",
"build": "rimraf dist && rollup -c ./rollup/rollup.config.js --bundleConfigAsCjs",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"lint:types": "tsc --noEmit -p tsconfig.json",
"lint:jsdoc": "eslint .",
"pub": "npm run build && npm publish"
},
"license": "MIT",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^9.13.0",
"eslint-plugin-jsdoc": "^50.4.3",
"rimraf": "^5.0.7",
"rollup": "^4.17.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-filesize": "^10.0.0",
"solc-typed-ast": "^18.2.3",
"tsx": "^4.17.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.12.2",
"vitest": "^1.6.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@chainsafe/persistent-merkle-tree": "^0.7.2",
"@chainsafe/ssz": "^0.16.0",
"@nilfoundation/smart-contracts": "0.3.0",
"@noble/curves": "^1.4.0",
"@open-rpc/client-js": "^1.8.1",
"@rollup/plugin-json": "^6.1.0",
"@scure/bip39": "^1.3.0",
"@types/isomorphic-fetch": "^0.0.39",
"abitype": "^1.0.2",
"events": "^3.3.0",
"isomorphic-fetch": "^3.0.0",
"poseidon-lite": "^0.3.0",
"tiny-invariant": "^1.3.3",
"ts-essentials": "^10.0.2",
"viem": "^2.16.3",
"zod": "^3.23.8"
},
"keywords": [
"nil",
"blockchain",
"client"
]
}