diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-11 17:36:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-12 10:58:16 +0100 |
commit | 63c4db6d71b98523753c51747e308682d9a2e8a0 (patch) | |
tree | d26c0d092ce016f2afe56bf71b08ca4698fe673f /client/.angular-cli.json | |
parent | 908f6e5e38e85cc0debab0051b7fa34b13025f96 (diff) | |
download | PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.tar.gz PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.tar.zst PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.zip |
Move to angular cli
Diffstat (limited to 'client/.angular-cli.json')
-rw-r--r-- | client/.angular-cli.json | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/client/.angular-cli.json b/client/.angular-cli.json new file mode 100644 index 000000000..3f94909e1 --- /dev/null +++ b/client/.angular-cli.json | |||
@@ -0,0 +1,66 @@ | |||
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 | "deployUrl": "client/", | ||
11 | "assets": [ | ||
12 | "assets" | ||
13 | ], | ||
14 | "index": "index.html", | ||
15 | "main": "main.ts", | ||
16 | "polyfills": "polyfills.ts", | ||
17 | "test": "test.ts", | ||
18 | "tsconfig": "tsconfig.app.json", | ||
19 | "testTsconfig": "tsconfig.spec.json", | ||
20 | "prefix": "app", | ||
21 | "styles": [ | ||
22 | "sass/application.scss" | ||
23 | ], | ||
24 | "stylePreprocessorOptions": { | ||
25 | "includePaths": [ | ||
26 | "sass/include" | ||
27 | ] | ||
28 | }, | ||
29 | "scripts": [], | ||
30 | "environmentSource": "environments/environment.ts", | ||
31 | "environments": { | ||
32 | "dev": "environments/environment.ts", | ||
33 | "prod": "environments/environment.prod.ts" | ||
34 | } | ||
35 | } | ||
36 | ], | ||
37 | "e2e": { | ||
38 | "protractor": { | ||
39 | "config": "./protractor.conf.js" | ||
40 | } | ||
41 | }, | ||
42 | "lint": [ | ||
43 | { | ||
44 | "project": "src/tsconfig.app.json", | ||
45 | "exclude": "**/node_modules/**" | ||
46 | }, | ||
47 | { | ||
48 | "project": "src/tsconfig.spec.json", | ||
49 | "exclude": "**/node_modules/**" | ||
50 | }, | ||
51 | { | ||
52 | "project": "e2e/tsconfig.e2e.json", | ||
53 | "exclude": "**/node_modules/**" | ||
54 | } | ||
55 | ], | ||
56 | "test": { | ||
57 | "karma": { | ||
58 | "config": "./karma.conf.js" | ||
59 | } | ||
60 | }, | ||
61 | "defaults": { | ||
62 | "styleExt": "scss", | ||
63 | "component": { | ||
64 | } | ||
65 | } | ||
66 | } | ||