-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.39 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
{
"name": "coin-toss",
"version": "0.0.0",
"license": "MIT",
"type": "module",
"scripts": {
"codegen:oracle": "aztec-cli codegen src/artifacts/PrivateOracle.json -o src/artifacts/oracle --nr && aztec-cli codegen src/artifacts/PrivateOracle.json -o src/artifacts/oracle --ts",
"codegen:token": "aztec-cli codegen src/artifacts/Token.json -o src/artifacts/token --nr && aztec-cli codegen src/artifacts/Token.json -o src/artifacts/token --ts",
"compile": "aztec-nargo compile && aztec-cli codegen target -o src/artifacts/cointoss --nr && aztec-cli codegen target -o src/artifacts/cointoss --ts && yarn codegen:oracle && yarn codegen:token",
"test": "yarn compile && NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand --passWithNoTests --testTimeout=50000"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"testRegex": "./src/.*\\.test\\.ts$",
"rootDir": "./src"
},
"dependencies": {
"@aztec/aztec.js": "0.20.0",
"@aztec/foundation": "0.20.0",
"@aztec/types": "0.20.0",
"@aztec/accounts": "0.20.0",
"@types/jest": "^29.5.5",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "10.9.1",
"typescript": "5.2.2"
}
}