-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
95 lines (95 loc) · 4.15 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
92
93
94
95
{
"name": "o1js-merkle",
"version": "0.1.2",
"description": "Sparse Merkle Tree for o1js",
"main": "build/module/index.js",
"typings": "build/module/index.d.ts",
"module": "build/module/index.js",
"author": "plus3-labs <https://github.com/plus3-labs>",
"repository": "https://github.com/plus3-labs/o1js-merkle",
"license": "MIT",
"keywords": [
"sparse merkle tree",
"merkle tree",
"mina sparse merkle tree",
"o1js merkle tree",
"o1js",
"o1js sparse merkle tree",
"zero knowledge proof",
"merkle proof",
"mina",
"mina-zkapp",
"zkapp",
"mina protocol"
],
"type": "module",
"scripts": {
"option": "tsc -p tsconfig.json && node --no-warnings --stack-trace-limit=1000 --experimental-specifier-resolution=node ./build/src/experimental/option.js",
"demo": "tsc -p tsconfig.json && node --no-warnings --experimental-specifier-resolution=node ./build/src/experimental/demo.js",
"ctree": "tsc -p tsconfig.json && node --no-warnings --experimental-specifier-resolution=node ./build/src/experimental/ctree.js",
"subtree": "tsc -p tsconfig.json && node --no-warnings --experimental-specifier-resolution=node ./build/src/experimental/subtree.js",
"subtree:merkle": "tsc -p tsconfig.json && node --no-warnings --experimental-specifier-resolution=node ./build/src/experimental/merkle_subtree.js",
"clear": "rm -rf ./build",
"example:merkle": "tsc -p tsconfig.json && node --no-warnings --experimental-specifier-resolution=node ./build/src/examples/merkle_zkapp.js",
"example": "tsc -p tsconfig.json && node --no-warnings --experimental-specifier-resolution=node ./build/src/examples/smt_zkapp.js",
"build:main": "tsc -p tsconfig.json",
"build:module": "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": "npm run build:module && npm run doc:html && npm run doc:publish"
},
"engines": {
"node": ">=16.4.0"
},
"peerDependencies": {
"encoding-down": "^7.1.0",
"abstract-level": "^1.0.4",
"level": "^8.0.0",
"levelup": "^5.1.1",
"memdown": "^6.1.1",
"rocksdb": "^5.2.1",
"mongoose": "^6.5.2",
"o1js": "^1.2.0"
},
"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/leveldown": "^4.0.3",
"@types/levelup": "^5.1.2",
"@types/memdown": "^3.0.1",
"@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": "^5.4.3"
},
"files": [
"build/module",
"!**/*.test.*",
"!**/*.json",
"LICENSE",
"README.md"
],
"prettier": {
"singleQuote": true
}
}