-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 3.05 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 3.05 KB
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
{
"name": "aztec-state-migration-root",
"private": true,
"version": "0.1.0",
"type": "module",
"engines": {
"node": ">=24.12.0"
},
"packageManager": "yarn@1.22.22",
"workspaces": ["ts/aztec-state-migration", "e2e-tests"],
"scripts": {
"clean": "rm -rf noir/target e2e-tests/codegenCache.json e2e-tests/artifacts solidity/target solidity/cache && yarn workspace aztec-state-migration run clean",
"sol": "yarn sol:deps && yarn sol:compile",
"sol:deps": "cd solidity && forge soldeer install",
"sol:compile": "cd solidity && forge build",
"sol:fmt": "cd solidity && forge fmt",
"sol:fmt:check": "cd solidity && forge fmt --check",
"noir": "yarn noir:compile && yarn noir:codegen",
"noir:compile": "cd noir && aztec compile",
"noir:codegen": "yarn noir:codegen:contracts && yarn noir:codegen:test-contracts",
"noir:codegen:contracts": "cd ts/aztec-state-migration && mkdir -p noir-contracts artifacts && cp ../../noir/target/*MigrationArchiveRegistry.json ../../noir/target/*MigrationKeyRegistry.json artifacts && aztec codegen ./artifacts -o ./noir-contracts",
"noir:codegen:test-contracts": "cd e2e-tests && mkdir -p artifacts && find ../noir/target -maxdepth 1 -name '*.json' ! -name '*MigrationArchiveRegistry*' ! -name '*MigrationKeyRegistry*' -exec cp {} artifacts \\; && aztec codegen ./artifacts -o ./artifacts",
"noir:fmt": "cd noir && nargo fmt",
"noir:fmt:check": "cd noir && nargo fmt --check",
"ts:build": "yarn workspace aztec-state-migration run build",
"ts:check": "tsc --noEmit",
"ts:fmt": "prettier --write 'ts/**/*.ts' 'e2e-tests/**/*.ts'",
"ts:fmt:check": "prettier --check 'ts/**/*.ts' 'e2e-tests/**/*.ts'",
"build": "yarn noir && yarn ts:build",
"fmt": "yarn sol:fmt && yarn noir:fmt && yarn ts:fmt",
"fmt:check": "yarn sol:fmt:check && yarn noir:fmt:check && yarn ts:fmt:check",
"test:setup": "./e2e-tests/utils/dual-rollup-setup.sh",
"test:stop": "./e2e-tests/utils/dual-rollup-stop.sh",
"check:full": "./e2e-tests/check-full.sh",
"test:mode-a": "npx tsx e2e-tests/migration-mode-a.test.ts",
"test:mode-b": "npx tsx e2e-tests/migration-mode-b.test.ts",
"test:mode-b:l1msg": "npx tsx e2e-tests/migration-mode-b-l1-to-l2-message.test.ts",
"test:mode-b:public": "npx tsx e2e-tests/migration-public-mode-b.test.ts",
"test:registry": "npx tsx e2e-tests/migration-key-registry.test.ts",
"test:token:mode-a": "npx tsx e2e-tests/token-migration-mode-a.test.ts",
"test:token:mode-b": "npx tsx e2e-tests/token-migration-mode-b.test.ts",
"test:token:mode-b:public": "npx tsx e2e-tests/token-migration-public-mode-b.test.ts",
"test:nft:mode-a": "npx tsx e2e-tests/nft-migration-mode-a.test.ts",
"test:nft:mode-b": "npx tsx e2e-tests/nft-migration-mode-b.test.ts",
"test:nft:mode-b:public": "npx tsx e2e-tests/nft-migration-public-mode-b.test.ts",
"test:hash": "./e2e-tests/hash-compatibility.sh",
"benchmark": "python3 scripts/benchmark.py"
},
"devDependencies": {
"prettier": "^3.8.1",
"tsx": "^4.19.0",
"typescript": "^5.6.0"
}
}