|
69 | 69 | } |
70 | 70 | ], |
71 | 71 | "stylePreprocessorOptions": { |
72 | | - "includePaths": [ |
73 | | - "node_modules", |
74 | | - "src", |
75 | | - "src/styles" |
76 | | - ] |
| 72 | + "includePaths": ["node_modules", "src", "src/styles"] |
77 | 73 | }, |
78 | 74 | "scripts": [], |
79 | 75 | "vendorChunk": true, |
|
110 | 106 | "serve": { |
111 | 107 | "builder": "@angular-devkit/build-angular:dev-server", |
112 | 108 | "options": { |
113 | | - "browserTarget": "material-angular-io:build" |
| 109 | + "browserTarget": "material-angular-io:build", |
| 110 | + "headers": { |
| 111 | + // Keep in sync with `firebase.json` |
| 112 | + "Content-Security-Policy": "upgrade-insecure-requests; default-src 'self'; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' *; frame-src https://www.youtube.com; media-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.google-analytics.com https://www.googletagmanager.com; child-src 'self' blob:; connect-src 'self' https://material.angular.io https://*.google-analytics.com https://stats.g.doubleclick.net https://api.github.com https://www.googletagmanager.com;" |
| 113 | + } |
114 | 114 | }, |
115 | 115 | "configurations": { |
116 | 116 | "production": { |
|
161 | 161 | } |
162 | 162 | ], |
163 | 163 | "stylePreprocessorOptions": { |
164 | | - "includePaths": [ |
165 | | - "node_modules", |
166 | | - "src", |
167 | | - "src/styles" |
168 | | - ] |
| 164 | + "includePaths": ["node_modules", "src", "src/styles"] |
169 | 165 | }, |
170 | 166 | "assets": [ |
171 | 167 | { |
|
184 | 180 | "lint": { |
185 | 181 | "builder": "@angular-eslint/builder:lint", |
186 | 182 | "options": { |
187 | | - "lintFilePatterns": [ |
188 | | - "src/**/*.ts", |
189 | | - "src/**/*.html" |
190 | | - ] |
| 183 | + "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] |
191 | 184 | } |
192 | 185 | }, |
193 | 186 | "e2e": { |
|
223 | 216 | "main": "scenes/src/main.ts", |
224 | 217 | "polyfills": "scenes/src/polyfills.ts", |
225 | 218 | "tsConfig": "scenes/tsconfig.app.json", |
226 | | - "assets": [ |
227 | | - "scenes/src/favicon.ico", |
228 | | - "scenes/src/assets" |
229 | | - ], |
230 | | - "styles": [ |
231 | | - "scenes/src/styles.scss" |
232 | | - ], |
| 219 | + "assets": ["scenes/src/favicon.ico", "scenes/src/assets"], |
| 220 | + "styles": ["scenes/src/styles.scss"], |
233 | 221 | "scripts": [], |
234 | 222 | "vendorChunk": true, |
235 | 223 | "extractLicenses": false, |
|
292 | 280 | "polyfills": "scenes/src/polyfills.ts", |
293 | 281 | "tsConfig": "scenes/tsconfig.spec.json", |
294 | 282 | "karmaConfig": "scenes/karma.conf.js", |
295 | | - "assets": [ |
296 | | - "scenes/src/favicon.ico", |
297 | | - "scenes/src/assets" |
298 | | - ], |
299 | | - "styles": [ |
300 | | - "scenes/src/styles.scss" |
301 | | - ], |
| 283 | + "assets": ["scenes/src/favicon.ico", "scenes/src/assets"], |
| 284 | + "styles": ["scenes/src/styles.scss"], |
302 | 285 | "scripts": [] |
303 | 286 | } |
304 | 287 | }, |
305 | 288 | "lint": { |
306 | 289 | "builder": "@angular-eslint/builder:lint", |
307 | 290 | "options": { |
308 | | - "lintFilePatterns": [ |
309 | | - "scenes/**/*.ts", |
310 | | - "scenes/**/*.html" |
311 | | - ] |
| 291 | + "lintFilePatterns": ["scenes/**/*.ts", "scenes/**/*.html"] |
312 | 292 | } |
313 | 293 | }, |
314 | 294 | "e2e": { |
|
0 commit comments