forked from compojoom/cowswap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
49 lines (49 loc) · 1.46 KB
/
project.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
{
"name": "abis",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/abis/src",
"projectType": "library",
"targets": {
"abis": {
"executor": "nx:noop",
"dependsOn": ["abi:ethflow", "abi:custom", "abis-legacy"]
},
"abi:ethflow": {
"executor": "nx:run-commands",
"options": {
"command": "typechain --target ethers-v5 --out-dir ./libs/abis/src/generated/ethflow \"./libs/abis/node_modules/@cowprotocol/ethflowcontract/artifacts/CoWSwapEthFlow.sol/*.json\""
}
},
"abi:custom": {
"executor": "nx:run-commands",
"options": {
"command": "typechain --target ethers-v5 --out-dir ./libs/abis/src/generated/custom './libs/abis/src/abis/**/*.json'"
}
},
"abis-legacy": {
"executor": "nx:run-commands",
"options": {
"command": "typechain --target ethers-v5 --out-dir ./libs/abis/src/generated/legacy './libs/abis/src/abis-legacy/**/*.json'"
}
},
"build": {
"executor": "@nx/vite:build",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/abis"
}
},
"publish": {
"command": "node tools/scripts/publish.mjs abis {args.tag} {args.otp}",
"dependsOn": ["build"]
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/abis/**/*.ts"]
}
}
},
"tags": []
}