-
Notifications
You must be signed in to change notification settings - Fork 2
/
nx.json
35 lines (35 loc) · 876 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
32
33
34
35
{
"namedInputs": {
"default": ["{projectRoot}/**/*"],
"prod": ["!{projectRoot}/**/*.spec.tsx"],
"production": ["default"]
},
"targetDefaults": {
"test": {
"inputs": ["default", "^prod", "{workspaceRoot}/jest-config/jest.config.ts"],
"dependsOn": ["build"],
"cache": true
},
"tsc": {
"inputs": ["default", "{workspaceRoot}/tsconfig.json"],
"dependsOn": ["build"],
"cache": true
},
"eslint": {
"inputs": ["default", "{workspaceRoot}/eslint/*.js"],
"dependsOn": ["build"],
"cache": true
},
"deploy-storybook": {
"inputs": ["default"],
"dependsOn": ["build"]
},
"build": {
"inputs": ["prod"],
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/dist"],
"cache": true
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json"
}