forked from privacy-scaling-explorations/zk-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
99 lines (99 loc) · 3.39 KB
/
turbo.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
96
97
98
99
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"inputs": [
"**/tsconfig.json",
"packages/**/*.{js,json,ts,sol}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
],
"outputs": ["packages/**/{artifacts,dist,typechain-types}/**"]
},
"//#_build:libraries": {
"inputs": [
"tsconfig.json",
"packages/**/*.{js,json,ts}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
]
},
"//#format:prettier": {
"inputs": [
".prettierrc.json",
".prettierignore",
"*.{js,ts,yml,json,md}",
"{.github,packages,scripts,types}/**/*.{js,ts,yml,json,md}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
]
},
"//#format:prettier:write": {
"inputs": [
".prettierrc.json",
".prettierignore",
"*.{js,ts,yml,json,md}",
"{.github,packages,scripts,types}/**/*.{js,ts,yml,json,md}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
]
},
"//#lint:eslint": {
"dependsOn": [
"@zk-kit/baby-jubjub#build",
"@zk-kit/eddsa-poseidon#build",
"@zk-kit/imt#build",
"imt.sol#typechain",
"lazytower.sol#typechain",
"@zk-kit/poseidon-cipher#build",
"@zk-kit/rollup-plugin-rust#build",
"@zk-kit/smt#build",
"@zk-kit/utils#build"
],
"inputs": [
".eslintrc.json",
".eslintignore",
"{packages,scripts,types}/**/*.{js,ts}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
]
},
"lint": {
"inputs": ["**/*.sol"]
},
"//#_test:libraries": {
"dependsOn": [
"@zk-kit/imt#build",
"@zk-kit/baby-jubjub#build",
"@zk-kit/eddsa-poseidon#build",
"@zk-kit/eddsa-proof#build",
"@zk-kit/groth16#build",
"@zk-kit/lazytower#build",
"@zk-kit/poseidon-cipher#build",
"@zk-kit/poseidon-proof#build",
"@zk-kit/rollup-plugin-rust#build",
"@zk-kit/smt#build",
"@zk-kit/utils#build"
],
"inputs": [
"jest.config.ts",
"packages/**/*.{js,ts}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
]
},
"//#_test:circuits": {
"dependsOn": [
"@zk-kit/baby-jubjub#build",
"@zk-kit/eddsa-poseidon#build",
"@zk-kit/imt#build",
"@zk-kit/poseidon-cipher#build",
"@zk-kit/smt#build",
"@zk-kit/utils#build"
],
"inputs": ["packages/circuits/**/*.{circom,nr,ts}"]
},
"test:coverage": {
"dependsOn": ["@zk-kit/imt#build", "^build"],
"inputs": ["**/*.sol"]
},
"typechain": {
"inputs": ["packages/**/*.sol"]
}
}
}