Storybook hinzugefĆ¼gt
[examples/angular-tutorial] / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "peter-pimmel": {
7       "projectType": "application",
8       "schematics": {},
9       "root": "",
10       "sourceRoot": "src",
11       "prefix": "app",
12       "architect": {
13         "build": {
14           "builder": "@angular-devkit/build-angular:browser",
15           "options": {
16             "outputPath": "dist/peter-pimmel",
17             "index": "src/index.html",
18             "main": "src/main.ts",
19             "polyfills": "src/polyfills.ts",
20             "tsConfig": "tsconfig.app.json",
21             "aot": false,
22             "assets": [
23               "src/favicon.ico",
24               "src/assets"
25             ],
26             "styles": [
27               "src/styles.css"
28             ],
29             "scripts": []
30           },
31           "configurations": {
32             "production": {
33               "fileReplacements": [
34                 {
35                   "replace": "src/environments/environment.ts",
36                   "with": "src/environments/environment.prod.ts"
37                 }
38               ],
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               "budgets": [
49                 {
50                   "type": "initial",
51                   "maximumWarning": "2mb",
52                   "maximumError": "5mb"
53                 },
54                 {
55                   "type": "anyComponentStyle",
56                   "maximumWarning": "6kb",
57                   "maximumError": "10kb"
58                 }
59               ]
60             }
61           }
62         },
63         "serve": {
64           "builder": "@angular-devkit/build-angular:dev-server",
65           "options": {
66             "browserTarget": "peter-pimmel:build"
67           },
68           "configurations": {
69             "production": {
70               "browserTarget": "peter-pimmel:build:production"
71             }
72           }
73         },
74         "extract-i18n": {
75           "builder": "@angular-devkit/build-angular:extract-i18n",
76           "options": {
77             "browserTarget": "peter-pimmel:build"
78           }
79         },
80         "test": {
81           "builder": "@angular-devkit/build-angular:karma",
82           "options": {
83             "main": "src/test.ts",
84             "polyfills": "src/polyfills.ts",
85             "tsConfig": "tsconfig.spec.json",
86             "karmaConfig": "karma.conf.js",
87             "assets": [
88               "src/favicon.ico",
89               "src/assets"
90             ],
91             "styles": [
92               "src/styles.css"
93             ],
94             "scripts": []
95           }
96         },
97         "lint": {
98           "builder": "@angular-devkit/build-angular:tslint",
99           "options": {
100             "tsConfig": [
101               "tsconfig.app.json",
102               "tsconfig.spec.json",
103               "e2e/tsconfig.json"
104             ],
105             "exclude": [
106               "**/node_modules/**"
107             ]
108           }
109         },
110         "e2e": {
111           "builder": "@angular-devkit/build-angular:protractor",
112           "options": {
113             "protractorConfig": "e2e/protractor.conf.js",
114             "devServerTarget": "peter-pimmel:serve"
115           },
116           "configurations": {
117             "production": {
118               "devServerTarget": "peter-pimmel:serve:production"
119             }
120           }
121         }
122       }
123     }},
124   "defaultProject": "peter-pimmel"
125 }