]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | { |
2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
3 | "version": 1, | |
4 | "newProjectRoot": "projects", | |
5 | "projects": { | |
6 | "ceph-dashboard": { | |
7 | "root": "", | |
8 | "sourceRoot": "src", | |
9 | "projectType": "application", | |
10 | "architect": { | |
11 | "build": { | |
12 | "builder": "@angular-devkit/build-angular:browser", | |
13 | "options": { | |
14 | "outputPath": "dist", | |
15 | "index": "src/index.html", | |
16 | "main": "src/main.ts", | |
17 | "tsConfig": "src/tsconfig.app.json", | |
18 | "polyfills": "src/polyfills.ts", | |
19 | "assets": [ | |
20 | "src/assets", | |
21 | "src/favicon.ico" | |
22 | ], | |
23 | "styles": [ | |
494da23a | 24 | "node_modules/ngx-toastr/toastr.css", |
11fdf7f2 | 25 | "node_modules/bootstrap/dist/css/bootstrap.css", |
11fdf7f2 TL |
26 | "node_modules/fork-awesome/css/fork-awesome.css", |
27 | "node_modules/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css", | |
28 | "node_modules/ngx-bootstrap/datepicker/bs-datepicker.css", | |
29 | "src/styles.scss", | |
30 | "src/vendor.overrides.scss", | |
31 | "node_modules/ng2-tree/styles.css" | |
32 | ], | |
33 | "scripts": [ | |
34 | "node_modules/chart.js/dist/Chart.bundle.js" | |
35 | ] | |
36 | }, | |
37 | "configurations": { | |
38 | "production": { | |
39 | "optimization": true, | |
40 | "outputHashing": "all", | |
41 | "sourceMap": false, | |
42 | "extractCss": true, | |
43 | "namedChunks": false, | |
44 | "aot": true, | |
45 | "extractLicenses": true, | |
46 | "vendorChunk": false, | |
47 | "buildOptimizer": true, | |
48 | "fileReplacements": [ | |
49 | { | |
50 | "replace": "src/environments/environment.ts", | |
51 | "with": "src/environments/environment.prod.ts" | |
52 | } | |
53 | ] | |
54 | } | |
55 | } | |
56 | }, | |
57 | "serve": { | |
58 | "builder": "@angular-devkit/build-angular:dev-server", | |
59 | "options": { | |
60 | "browserTarget": "ceph-dashboard:build", | |
61 | "proxyConfig": "proxy.conf.json" | |
62 | }, | |
63 | "configurations": { | |
64 | "production": { | |
65 | "browserTarget": "ceph-dashboard:build:production" | |
66 | } | |
67 | } | |
68 | }, | |
69 | "extract-i18n": { | |
70 | "builder": "@angular-devkit/build-angular:extract-i18n", | |
71 | "options": { | |
72 | "browserTarget": "ceph-dashboard:build" | |
73 | } | |
74 | }, | |
75 | "lint": { | |
76 | "builder": "@angular-devkit/build-angular:tslint", | |
77 | "options": { | |
78 | "tsConfig": [ | |
79 | "src/tsconfig.app.json", | |
80 | "src/tsconfig.spec.json" | |
81 | ], | |
82 | "exclude": [ | |
83 | "**/node_modules/**" | |
84 | ] | |
85 | } | |
86 | } | |
87 | } | |
88 | }, | |
89 | "ceph-dashboard-e2e": { | |
90 | "root": "", | |
91 | "sourceRoot": "", | |
92 | "projectType": "application", | |
93 | "architect": { | |
94 | "e2e": { | |
95 | "builder": "@angular-devkit/build-angular:protractor", | |
96 | "options": { | |
97 | "protractorConfig": "./protractor.conf.js", | |
98 | "devServerTarget": "ceph-dashboard:serve" | |
99 | } | |
100 | }, | |
101 | "lint": { | |
102 | "builder": "@angular-devkit/build-angular:tslint", | |
103 | "options": { | |
104 | "tsConfig": [ | |
105 | "e2e/tsconfig.e2e.json" | |
106 | ], | |
107 | "exclude": [ | |
108 | "**/node_modules/**" | |
109 | ] | |
110 | } | |
111 | } | |
112 | } | |
113 | } | |
114 | }, | |
115 | "defaultProject": "ceph-dashboard", | |
116 | "schematics": { | |
117 | "@schematics/angular:component": { | |
118 | "prefix": "cd", | |
119 | "styleext": "scss" | |
120 | }, | |
121 | "@schematics/angular:directive": { | |
122 | "prefix": "cd" | |
123 | } | |
124 | } | |
125 | } |