-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkspace.json
73 lines (73 loc) · 1.95 KB
/
workspace.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
69
70
71
72
73
{
"version": 2,
"projects": {
"api": {
"root": "packages/api",
"sourceRoot": "packages/api/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["packages/api/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/packages/api"],
"options": {
"jestConfig": "packages/api/jest.config.js",
"passWithNoTests": true
}
},
"build": {
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/api",
"tsConfig": "packages/api/tsconfig.lib.json",
"packageJson": "packages/api/package.json",
"main": "packages/api/src/index.ts",
"assets": [
"packages/api/*.md",
{
"input": "./packages/api/src",
"glob": "**/*.!(ts)",
"output": "./src"
},
{
"input": "./packages/api",
"glob": "generators.json",
"output": "."
},
{
"input": "./packages/api",
"glob": "executors.json",
"output": "."
}
]
}
}
}
},
"api-e2e": {
"projectType": "application",
"root": "e2e/api-e2e",
"sourceRoot": "e2e/api-e2e/src",
"targets": {
"e2e": {
"executor": "@nrwl/nx-plugin:e2e",
"options": {
"target": "api:build",
"npmPackageName": "@nxpm/api",
"pluginOutputPath": "dist/packages/api",
"jestConfig": "e2e/api-e2e/jest.config.js"
}
}
}
}
},
"cli": {
"defaultCollection": "@nrwl/workspace"
}
}