-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathproject.json
54 lines (54 loc) · 1.44 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
{
"name": "plugin-core",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/plugin/core/src",
"projectType": "library",
"tags": ["type:plugin"],
"targets": {
"lint": {
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/plugin/core"],
"options": {
"jestConfig": "libs/plugin/core/jest.config.ts",
"passWithNoTests": false
}
},
"build": {
"executor": "@nx/js:tsc",
"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": "nx:run-commands",
"options": {
"command": "npx semantic-release -e ./libs/plugin/core/.releaserc.json"
}
}
}
}