-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
91 lines (91 loc) · 3.97 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
87
88
89
90
91
{
"name": "snarky-smt",
"version": "0.6.1",
"description": "Sparse Merkle Tree for SnarkyJS",
"main": "build/module/index.js",
"typings": "build/module/index.d.ts",
"module": "build/module/index.js",
"author": "Comdex <https://github.com/Comdex>",
"repository": "https://github.com/Comdex/snarky-smt",
"license": "MIT",
"keywords": [
"sparse merkle tree",
"merkle tree",
"mina sparse merkle tree",
"snarkyjs merkle tree",
"snarkyjs",
"snarkyjs sparse merkle tree",
"zero knowledge proof",
"merkle proof",
"mina",
"mina-zkapp",
"zkapp",
"mina protocol"
],
"type": "module",
"scripts": {
"option": "tsc -p tsconfig.json && node --stack-trace-limit=1000 --experimental-specifier-resolution=node ./build/src/experimental/option.js",
"demo": "tsc -p tsconfig.json && node --experimental-specifier-resolution=node ./build/src/experimental/demo.js",
"ctree": "tsc -p tsconfig.json && node --experimental-specifier-resolution=node ./build/src/experimental/ctree.js",
"subtree": "tsc -p tsconfig.json && node --experimental-specifier-resolution=node ./build/src/experimental/subtree.js",
"subtree:merkle": "tsc -p tsconfig.json && node --experimental-specifier-resolution=node ./build/src/experimental/merkle_subtree.js",
"clear": "rm -rf ./build",
"example:merkle": "tsc -p tsconfig.json && node --experimental-specifier-resolution=node ./build/src/examples/merkle_zkapp.js",
"example": "tsc -p tsconfig.json && node --experimental-specifier-resolution=node ./build/src/examples/smt_zkapp.js",
"build:main": "tsc -p tsconfig.json",
"build:module": "rm -rf ./build && tsc -p tsconfig.module.json",
"watch:build": "tsc -p tsconfig.json -w",
"doc:html": "typedoc src/index.ts --exclude **/*.test.ts --out build/docs",
"doc:json": "typedoc src/index.ts --exclude **/*.test.ts --json build/docs/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
"citest": "for f in ./test/*.test.ts; do NODE_OPTIONS=--experimental-vm-modules npx jest $f --passWithNoTests || exit 1; done",
"test2": "jest --config jest.config.js --maxWorkers=50%",
"test": "node --experimental-vm-modules --experimental-wasm-modules --experimental-wasm-threads --no-warnings node_modules/jest/bin/jest.js --config jest.config.js",
"test:compact": "jest --config jest.config.js compact_smt",
"test:ts": "node --experimental-vm-modules --experimental-wasm-modules --experimental-wasm-threads --no-warnings node_modules/jest/bin/jest.js --config jest.config.js --findRelatedTests test/compact_smt.test.ts",
"test:tree": "node --experimental-vm-modules --experimental-wasm-modules --experimental-wasm-threads --no-warnings node_modules/jest/bin/jest.js --config jest.config.js --findRelatedTests test/compact_smt.test.ts test/smt.test.ts test/merkle_tree.test.ts",
"prepublishOnly": "rm -rf ./build && npm run build:module && npm run doc:html && npm run doc:publish"
},
"engines": {
"node": ">=16.4.0"
},
"peerDependencies": {
"encoding-down": "^7.1.0",
"level": "^8.0.0",
"levelup": "^5.1.1",
"rocksdb": "^5.2.1",
"mongoose": "^6.5.2",
"snarkyjs": "^0.9.3"
},
"devDependencies": {
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@types/encoding-down": "^5.0.0",
"@types/jest": "^28.1.8",
"@types/levelup": "^5.1.2",
"@types/rocksdb": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.0",
"gh-pages": "^4.0.0",
"jest": "^28.1.3c",
"mongodb-memory-server": "^8.9.0",
"prettier": "^2.3.2",
"ts-jest": "^28.0.8",
"typedoc": "^0.23.11",
"typescript": "^4.8.2"
},
"files": [
"build/module",
"!**/*.test.*",
"!**/*.json",
"LICENSE",
"README.md"
],
"prettier": {
"singleQuote": true
}
}