-
-
Notifications
You must be signed in to change notification settings - Fork 207
/
project.json
39 lines (39 loc) · 1.58 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
{
"name": "schematics",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"type": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/dist"],
"options": {
"cwd": "packages/schematics",
"parallel": false,
"commands": [
"npx ncp ../../node_modules/@schematics/angular/application/schema.json src/application/schema.json",
"npx ncp ../../node_modules/@schematics/angular/library/schema.json src/library/schema.json",
"npx tsx ../../tools/scripts/enhance-angular-schemas.ts",
"npx tsc -b tsconfig.lib.json --pretty --verbose",
"npx ncp src/collection.json dist/collection.json",
"npx ncp src/migrations.json dist/migrations.json",
"npx ncp src/ng-add/schema.json dist/ng-add/schema.json",
"npx ncp src/convert-tslint-to-eslint/schema.json dist/convert-tslint-to-eslint/schema.json",
"npx ncp src/application/schema.json dist/application/schema.json",
"npx ncp src/library/schema.json dist/library/schema.json",
"npx ncp src/workspace/schema.json dist/workspace/schema.json",
"npx ncp src/add-eslint-to-project/schema.json dist/add-eslint-to-project/schema.json"
]
}
},
"test": {
"dependsOn": ["^build"],
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/schematics"],
"options": {
"jestConfig": "packages/schematics/jest.config.ts",
"passWithNoTests": false
}
}
},
"implicitDependencies": []
}