-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 2.93 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
{
"name": "aztec-patterns",
"version": "0.0.0",
"license": "MIT",
"type": "module",
"scripts": {
"compile": "aztec-nargo compile --workspace",
"codegen:shared-nullifier-key": "aztec-cli codegen target/shared_nullifier_key-SharedNullifierKey.json -o artifacts/shared-nullifier-key --ts",
"codegen:note-sharing": "aztec-cli codegen target/note_sharing_pattern-SharedNote.json -o artifacts/note-sharing --ts",
"codegen:callback1": "aztec-cli codegen target/callbacker-Callbacker.json -o artifacts/callback --ts",
"codegen:callback2": "aztec-cli codegen target/call_me_back-CallMeBack.json -o artifacts/callback --ts",
"codegen:immediate-nullification": "aztec-cli codegen target/immediate_note_nullification-ImmediateNoteNullification.json -o artifacts/immediate-nullification --ts",
"codegen:token": "aztec-cli codegen artifacts/standard-token/Token.json -o artifacts/standard-token --ts",
"codegen:escrow": "aztec-cli codegen target/escrow_contract-Escrow.json -o artifacts/contracts-as-note-owners/escrow --ts",
"codegen:broadcaster": "aztec-cli codegen target/broadcaster-Broadcaster.json -o artifacts/multiparty-note-sharing/broadcaster --ts",
"codegen:integrating-contract": "aztec-cli codegen target/integrating_contract-IntegratingContract.json -o artifacts/multiparty-note-sharing/integrating-contract --ts",
"codegen:trustless-manager": "aztec-cli codegen target/trustless_manager-TrustlessManager.json -o artifacts/contracts-as-note-owners/trustless-manager --ts",
"codegen:add-he": "aztec-cli codegen target/add_he-AdditiveHomomorphicEncryption.json -o artifacts/add-he/add-he --ts",
"codegen:priv-pub": "aztec-cli codegen target/private_public_mirroring-PrivatePublicMirroring.json -o artifacts/private-public-mirroring --ts",
"codegen:all": "yarn codegen:note-sharing && yarn codegen:callback1 && yarn codegen:callback2 && yarn codegen:immediate-nullification && yarn codegen:token && yarn codegen:escrow && yarn codegen:trustless-manager && yarn codegen:shared-nullifier-key && yarn codegen:broadcaster && yarn codegen:integrating-contract && yarn codegen:add-he && yarn codegen:priv-pub",
"build:contracts": "yarn compile && yarn codegen:all",
"test": "yarn build:contracts && NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand --passWithNoTests --testTimeout=30000"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"testRegex": "./src/.*\\.test\\.ts$",
"rootDir": "./patterns/"
},
"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"
}
}