forked from trezor/trezor-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nx.json
68 lines (68 loc) · 2.15 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
62
63
64
65
66
67
68
{
"extends": "nx/presets/npm.json",
"namedInputs": {
"sharedGlobals": [
"{workspaceRoot}/.yarnrc.yml",
"{workspaceRoot}/patches/*.patch",
"{workspaceRoot}/package.json"
],
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"prod": ["default", "!{projectRoot}/**/*.test.{ts,tsx}"]
},
"targetDefaults": {
"build:lib": {
"dependsOn": [],
"inputs": [
"^prod",
"{workspaceRoot}/tsconfig.base.json",
"{workspaceRoot}/tsconfig.lib.json"
],
"outputs": ["{projectRoot}/lib", "{projectRoot}/build"],
"cache": true
},
"type-check": {
"dependsOn": [
"^type-check",
"^guide-pull-content",
"guide-pull-content",
"@suite-common/message-system:build:lib"
],
"inputs": [
"^prod",
"{workspaceRoot}/tsconfig.base.json",
"{workspaceRoot}/tsconfig.lib.json"
],
"outputs": ["{projectRoot}/libDev"],
"cache": true
},
"test:unit": {
"dependsOn": ["@suite-common/message-system:build:lib"],
"inputs": [
"^prod",
"{workspaceRoot}/jest.config.base.js",
"{workspaceRoot}/jest.config.native.js"
],
"cache": true
},
"lint:js": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.js"],
"outputs": ["{projectRoot}/.eslintcache"],
"cache": true
},
"lint:styles": {
"inputs": ["default", "{workspaceRoot}/.stylelintrc"],
"outputs": ["{projectRoot}/.stylelintcache"],
"cache": true
},
"depcheck": {
"inputs": ["default"],
"cache": true
}
},
"affected": {
"defaultBase": "origin/develop"
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"nxCloudAccessToken": "NmE2NmFlYTUtN2JhZi00ZmQ3LWEyYzMtYWRkNzc3MTg0YmUyfHJlYWQ=",
"parallel": 4
}