-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
project.json
59 lines (59 loc) · 1.76 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
58
59
{
"name": "microwave",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "packages/microwave/src",
"prefix": "jscutlery",
"tags": [],
"targets": {
"build": {
"executor": "@nx/angular:package",
"outputs": ["{workspaceRoot}/dist/packages/microwave"],
"options": {
"project": "packages/microwave/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "packages/microwave/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "packages/microwave/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/microwave"],
"options": {
"jestConfig": "packages/microwave/jest.config.ts"
}
},
"lint": {
"executor": "@nx/eslint:lint"
},
"component-test-build": {
"executor": "@angular-devkit/build-angular:browser-esbuild",
"options": {
"outputPath": "dist/packages/microwave",
"index": "packages/microwave/does-not-exist/index.html",
"main": "packages/microwave/does-not-exist/main.ts",
"polyfills": "packages/microwave/polyfills.ts",
"tsConfig": "packages/microwave/tsconfig.lib.json"
}
},
"component-test": {
"executor": "@nx/cypress:cypress",
"options": {
"cypressConfig": "packages/microwave/cypress.config.ts",
"testingType": "component",
"skipServe": true,
"devServerTarget": "microwave:component-test-build"
}
},
"nx-release-publish": {
"executor": "@nx/js:release-publish",
"dependsOn": ["^nx-release-publish", "build"]
}
}
}