/
nx.json
31 lines (31 loc) · 926 Bytes
/
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
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "test", "build:module"]
}
}
},
"namedInputs": {
"default": ["{projectRoot}/**/*"],
"production": ["{projectRoot}/src/**/*", "!{projectRoot}/src/**/*.spec.ts", "{projectRoot}/package.json"]
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"outputs": ["{projectRoot}/lib", "{projectRoot}/webda.module.json", "{projectRoot}/package.json"]
},
"build:module": {
"dependsOn": ["^build:module", "build"],
"inputs": ["production", "^production"],
"outputs": ["{projectRoot}/webda.module.json"]
},
"test": {
"dependsOn": ["build", "build:module"],
"inputs": ["default", "^production"],
"outputs": ["{projectRoot}/reports"]
}
}
}