Register service worker
[oweals/peertube.git] / client / .angular-cli.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "project": {
4     "name": "PeerTube"
5   },
6   "apps": [
7     {
8       "root": "src",
9       "outDir": "dist",
10       "assets": [
11         {
12           "glob": "**/*",
13           "input": "./assets/images",
14           "output": "./client/assets/images",
15           "allowOutsideOutDir": false
16         },
17         "./manifest.json"
18       ],
19       "deployUrl": "client/",
20       "index": "index.html",
21       "main": "main.ts",
22       "polyfills": "polyfills.ts",
23       "test": "test.ts",
24       "tsconfig": "tsconfig.app.json",
25       "testTsconfig": "tsconfig.spec.json",
26       "prefix": "app",
27       "serviceWorker": true,
28       "styles": [
29         "sass/application.scss"
30       ],
31       "stylePreprocessorOptions": {
32         "includePaths": [
33           "sass/include"
34         ]
35       },
36       "scripts": [],
37       "environmentSource": "environments/environment.ts",
38       "environments": {
39         "dev": "environments/environment.ts",
40         "prod": "environments/environment.prod.ts"
41       }
42     }
43   ],
44   "e2e": {
45     "protractor": {
46       "config": "./protractor.conf.js"
47     }
48   },
49   "lint": [
50     {
51       "project": "src/tsconfig.app.json",
52       "exclude": "**/node_modules/**"
53     },
54     {
55       "project": "src/tsconfig.spec.json",
56       "exclude": "**/node_modules/**"
57     },
58     {
59       "project": "e2e/tsconfig.e2e.json",
60       "exclude": "**/node_modules/**"
61     }
62   ],
63   "test": {
64     "karma": {
65       "config": "./karma.conf.js"
66     }
67   },
68   "defaults": {
69     "styleExt": "scss",
70     "component": {
71     }
72   }
73 }