showing results for - "generate angular json for existing project"
Emanuel
18 Sep 2019
1{
2  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3  "project": {
4    "name": "my-app"
5  },
6  "apps": [
7    {
8      "root": "src",
9      "outDir": "dist",
10      "assets": [
11        "assets",
12        "favicon.ico"
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        "styles.css"
23      ],
24      "scripts": [],
25      "environmentSource": "environments/environment.ts",
26      "environments": {
27        "dev": "environments/environment.ts",
28        "prod": "environments/environment.prod.ts"
29      }
30    }
31  ],
32  "e2e": {
33    "protractor": {
34      "config": "./protractor.conf.js"
35    }
36  },
37  "lint": [
38    {
39      "project": "src/tsconfig.app.json",
40      "exclude": "**/node_modules/**"
41    },
42    {
43      "project": "src/tsconfig.spec.json",
44      "exclude": "**/node_modules/**"
45    },
46    {
47      "project": "e2e/tsconfig.e2e.json",
48      "exclude": "**/node_modules/**"
49    }
50  ],
51  "test": {
52    "karma": {
53      "config": "./karma.conf.js"
54    }
55  },
56  "defaults": {
57    "styleExt": "css",
58    "component": {}
59  }
60}
61