-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular.json
78 lines (78 loc) · 2.2 KB
/
angular.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
74
75
76
77
78
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"lib1": {
"root": "projects/lib1",
"sourceRoot": "projects/lib1/src",
"projectType": "library",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/lib1/tsconfig.lib.json",
"project": "projects/lib1/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/lib1/src/test.ts",
"tsConfig": "projects/lib1/tsconfig.spec.json",
"karmaConfig": "projects/lib1/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/lib1/tsconfig.lib.json",
"projects/lib1/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"lib2": {
"root": "projects/lib2",
"sourceRoot": "projects/lib2/src",
"projectType": "library",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/lib2/tsconfig.lib.json",
"project": "projects/lib2/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/lib2/src/test.ts",
"tsConfig": "projects/lib2/tsconfig.spec.json",
"karmaConfig": "projects/lib2/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/lib2/tsconfig.lib.json",
"projects/lib2/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "lib1"
}