-
Notifications
You must be signed in to change notification settings - Fork 1
/
nx.json
45 lines (45 loc) · 1.01 KB
/
nx.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
{
"cli": {
"packageManager": "pnpm"
},
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
"cache": true
},
"test": {
"executor": "nx:run-commands",
"options": {
"command": "pnpm run test",
"parallel": true,
"cwd": "{projectRoot}",
"color": true,
"forwardAllArgs": true
},
"inputs": ["default", "^default"]
},
"build": {
"executor": "nx:run-commands",
"options": {
"command": "pnpm run build",
"parallel": true,
"cwd": "{projectRoot}",
"color": true,
"forwardAllArgs": true
}
},
"package": {
"executor": "nx:run-commands",
"options": {
"command": "pnpm run package",
"parallel": true,
"cwd": "{projectRoot}",
"color": true,
"forwardAllArgs": true
}
}
},
"parallel": 10
}