forked from trezor/trezor-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nx.json
61 lines (61 loc) · 1.84 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"extends": "nx/presets/npm.json",
"namedInputs": {
"sharedGlobals": [
"{workspaceRoot}/nx.json",
"{workspaceRoot}/.yarnrc.yml",
"{workspaceRoot}/patches/*.patch",
"{workspaceRoot}/package.json"
],
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"prod": ["default", "!{projectRoot}/**/*.test.{ts,tsx}"]
},
"targetDefaults": {
"build:lib": {
"dependsOn": ["^build:lib"],
"inputs": [
"^prod",
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/tsconfig.lib.json"
],
"outputs": ["{projectRoot}/lib", "{projectRoot}/build"],
"cache": true
},
"type-check": {
"dependsOn": ["^build:lib", "^type-check"],
"inputs": [
"^prod",
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/tsconfig.lib.json"
],
"outputs": ["{projectRoot}/libDev"],
"cache": true
},
"test:unit": {
"dependsOn": ["^build:lib"],
"inputs": [
"^prod",
"{workspaceRoot}/jest.config.base.js",
"{workspaceRoot}/jest.config.native.js"
],
"cache": true
},
"lint:js": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.js"],
"cache": true
},
"lint:styles": {
"inputs": ["default"],
"cache": true
},
"lint": {
"cache": true
}
},
"affected": {
"defaultBase": "origin/develop"
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"nxCloudAccessToken": "NmE2NmFlYTUtN2JhZi00ZmQ3LWEyYzMtYWRkNzc3MTg0YmUyfHJlYWQ=",
"parallel": 3
}