forked from guiseek/nx-clean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
57 lines (57 loc) · 1.51 KB
/
project.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
{
"root": "libs/plugin/core",
"sourceRoot": "libs/plugin/core/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["libs/plugin/core/**/*.ts"]
},
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/plugin/core"],
"options": {
"jestConfig": "libs/plugin/core/jest.config.js",
"passWithNoTests": false
}
},
"build": {
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/plugin/core",
"tsConfig": "libs/plugin/core/tsconfig.lib.json",
"packageJson": "libs/plugin/core/package.json",
"main": "libs/plugin/core/src/index.ts",
"assets": [
"libs/plugin/core/*.md",
{
"input": "./libs/plugin/core/src",
"glob": "**/!(*.ts)",
"output": "./src"
},
{
"input": "./libs/plugin/core/src",
"glob": "**/*.d.ts",
"output": "./src"
},
{
"input": "./libs/plugin/core",
"glob": "generators.json",
"output": "."
}
]
}
},
"release": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "npx semantic-release -e ./libs/plugin/core/.releaserc.json"
}
}
},
"tags": ["type:plugin"]
}