forked from bitwarden/clients
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnx.json
More file actions
42 lines (42 loc) · 1018 Bytes
/
nx.json
File metadata and controls
42 lines (42 loc) · 1018 Bytes
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
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"cacheDirectory": ".nx/cache",
"defaultBase": "main",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": ["default", "!{projectRoot}/**/*.spec.ts", "!{projectRoot}/tsconfig.spec.json"],
"sharedGlobals": ["{workspaceRoot}/tsconfig.base.json", "{workspaceRoot}/package.json"]
},
"plugins": [
{
"plugin": "@nx/js",
"options": {
"compiler": "tsc",
"configName": "tsconfig.lib.json",
"targetName": "build"
}
},
{
"plugin": "@nx/jest/plugin",
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint"
}
},
"@bitwarden/nx-plugin"
],
"parallel": 4,
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"outputs": ["{options.outputPath}"],
"cache": true
}
}
}