|
a |
|
b/nih-ct-protocol-ui/angular.json |
|
|
1 |
{ |
|
|
2 |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
|
|
3 |
"version": 1, |
|
|
4 |
"newProjectRoot": "projects", |
|
|
5 |
"projects": { |
|
|
6 |
"CTEUI": { |
|
|
7 |
"root": "", |
|
|
8 |
"sourceRoot": "src", |
|
|
9 |
"projectType": "application", |
|
|
10 |
"prefix": "app", |
|
|
11 |
"schematics": {}, |
|
|
12 |
"architect": { |
|
|
13 |
"build": { |
|
|
14 |
"builder": "@angular-devkit/build-angular:browser", |
|
|
15 |
"options": { |
|
|
16 |
"outputPath": "dist/CTEUI", |
|
|
17 |
"index": "src/index.html", |
|
|
18 |
"main": "src/main.ts", |
|
|
19 |
"polyfills": "src/polyfills.ts", |
|
|
20 |
"tsConfig": "src/tsconfig.app.json", |
|
|
21 |
"assets": [ |
|
|
22 |
"src/favicon.ico", |
|
|
23 |
"src/assets" |
|
|
24 |
], |
|
|
25 |
"styles": [ |
|
|
26 |
"src/styles.css", |
|
|
27 |
"./node_modules/froala-editor/css/froala_editor.pkgd.min.css", |
|
|
28 |
"./node_modules/froala-editor/css/froala_style.min.css", |
|
|
29 |
"./node_modules/font-awesome/css/font-awesome.css" |
|
|
30 |
], |
|
|
31 |
"scripts": [ |
|
|
32 |
"./node_modules/jquery/dist/jquery.min.js", |
|
|
33 |
"./node_modules/froala-editor/js/froala_editor.pkgd.min.js" |
|
|
34 |
] |
|
|
35 |
}, |
|
|
36 |
"configurations": { |
|
|
37 |
"production": { |
|
|
38 |
"fileReplacements": [ |
|
|
39 |
{ |
|
|
40 |
"replace": "src/environments/environment.ts", |
|
|
41 |
"with": "src/environments/environment.prod.ts" |
|
|
42 |
} |
|
|
43 |
], |
|
|
44 |
"optimization": true, |
|
|
45 |
"outputHashing": "all", |
|
|
46 |
"sourceMap": false, |
|
|
47 |
"extractCss": true, |
|
|
48 |
"namedChunks": false, |
|
|
49 |
"aot": true, |
|
|
50 |
"extractLicenses": true, |
|
|
51 |
"vendorChunk": false, |
|
|
52 |
"buildOptimizer": true |
|
|
53 |
} |
|
|
54 |
} |
|
|
55 |
}, |
|
|
56 |
"serve": { |
|
|
57 |
"builder": "@angular-devkit/build-angular:dev-server", |
|
|
58 |
"options": { |
|
|
59 |
"browserTarget": "CTEUI:build" |
|
|
60 |
}, |
|
|
61 |
"configurations": { |
|
|
62 |
"production": { |
|
|
63 |
"browserTarget": "CTEUI:build:production" |
|
|
64 |
} |
|
|
65 |
} |
|
|
66 |
}, |
|
|
67 |
"extract-i18n": { |
|
|
68 |
"builder": "@angular-devkit/build-angular:extract-i18n", |
|
|
69 |
"options": { |
|
|
70 |
"browserTarget": "CTEUI:build" |
|
|
71 |
} |
|
|
72 |
}, |
|
|
73 |
"test": { |
|
|
74 |
"builder": "@angular-devkit/build-angular:karma", |
|
|
75 |
"options": { |
|
|
76 |
"main": "src/test.ts", |
|
|
77 |
"polyfills": "src/polyfills.ts", |
|
|
78 |
"tsConfig": "src/tsconfig.spec.json", |
|
|
79 |
"karmaConfig": "src/karma.conf.js", |
|
|
80 |
"styles": [ |
|
|
81 |
"src/styles.css" |
|
|
82 |
], |
|
|
83 |
"scripts": [ |
|
|
84 |
], |
|
|
85 |
"assets": [ |
|
|
86 |
"src/favicon.ico", |
|
|
87 |
"src/assets" |
|
|
88 |
] |
|
|
89 |
} |
|
|
90 |
}, |
|
|
91 |
"lint": { |
|
|
92 |
"builder": "@angular-devkit/build-angular:tslint", |
|
|
93 |
"options": { |
|
|
94 |
"tsConfig": [ |
|
|
95 |
"src/tsconfig.app.json", |
|
|
96 |
"src/tsconfig.spec.json" |
|
|
97 |
], |
|
|
98 |
"exclude": [ |
|
|
99 |
"**/node_modules/**" |
|
|
100 |
] |
|
|
101 |
} |
|
|
102 |
} |
|
|
103 |
} |
|
|
104 |
}, |
|
|
105 |
"CTE-e2e": { |
|
|
106 |
"root": "e2e/", |
|
|
107 |
"projectType": "application", |
|
|
108 |
"architect": { |
|
|
109 |
"e2e": { |
|
|
110 |
"builder": "@angular-devkit/build-angular:protractor", |
|
|
111 |
"options": { |
|
|
112 |
"protractorConfig": "e2e/protractor.conf.js", |
|
|
113 |
"devServerTarget": "CTEUI:serve" |
|
|
114 |
}, |
|
|
115 |
"configurations": { |
|
|
116 |
"production": { |
|
|
117 |
"devServerTarget": "CTEUI:serve:production" |
|
|
118 |
} |
|
|
119 |
} |
|
|
120 |
}, |
|
|
121 |
"lint": { |
|
|
122 |
"builder": "@angular-devkit/build-angular:tslint", |
|
|
123 |
"options": { |
|
|
124 |
"tsConfig": "e2e/tsconfig.e2e.json", |
|
|
125 |
"exclude": [ |
|
|
126 |
"**/node_modules/**" |
|
|
127 |
] |
|
|
128 |
} |
|
|
129 |
} |
|
|
130 |
} |
|
|
131 |
} |
|
|
132 |
}, |
|
|
133 |
"defaultProject": "CTEUI" |
|
|
134 |
} |