1 | {
|
---|
2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
---|
3 | "version": 1,
|
---|
4 | "newProjectRoot": "projects",
|
---|
5 | "projects": {
|
---|
6 | "Farmatiko": {
|
---|
7 | "root": "",
|
---|
8 | "sourceRoot": "src",
|
---|
9 | "projectType": "application",
|
---|
10 | "prefix": "app",
|
---|
11 | "schematics": {},
|
---|
12 | "architect": {
|
---|
13 | "build": {
|
---|
14 | "builder": "@angular-devkit/build-angular:browser",
|
---|
15 | "options": {
|
---|
16 | "progress": false,
|
---|
17 | "extractCss": true,
|
---|
18 | "outputPath": "dist",
|
---|
19 | "index": "src/index.html",
|
---|
20 | "main": "src/main.ts",
|
---|
21 | "polyfills": "src/polyfills.ts",
|
---|
22 | "tsConfig": "src/tsconfig.app.json",
|
---|
23 | "assets": [
|
---|
24 | "src/assets"
|
---|
25 | ],
|
---|
26 | "styles": [
|
---|
27 | "src/custom-theme.scss",
|
---|
28 | "node_modules/bootstrap/dist/css/bootstrap.min.css",
|
---|
29 | "src/styles.css"
|
---|
30 | ],
|
---|
31 | "scripts": []
|
---|
32 | },
|
---|
33 | "configurations": {
|
---|
34 | "production": {
|
---|
35 | "fileReplacements": [
|
---|
36 | {
|
---|
37 | "replace": "src/environments/environment.ts",
|
---|
38 | "with": "src/environments/environment.prod.ts"
|
---|
39 | }
|
---|
40 | ],
|
---|
41 | "optimization": true,
|
---|
42 | "outputHashing": "all",
|
---|
43 | "sourceMap": false,
|
---|
44 | "extractCss": true,
|
---|
45 | "namedChunks": false,
|
---|
46 | "aot": true,
|
---|
47 | "extractLicenses": true,
|
---|
48 | "vendorChunk": false,
|
---|
49 | "buildOptimizer": true
|
---|
50 | }
|
---|
51 | }
|
---|
52 | },
|
---|
53 | "serve": {
|
---|
54 | "builder": "@angular-devkit/build-angular:dev-server",
|
---|
55 | "options": {
|
---|
56 | "browserTarget": "Farmatiko:build"
|
---|
57 | },
|
---|
58 | "configurations": {
|
---|
59 | "production": {
|
---|
60 | "browserTarget": "Farmatiko:build:production"
|
---|
61 | }
|
---|
62 | }
|
---|
63 | },
|
---|
64 | "extract-i18n": {
|
---|
65 | "builder": "@angular-devkit/build-angular:extract-i18n",
|
---|
66 | "options": {
|
---|
67 | "browserTarget": "Farmatiko:build"
|
---|
68 | }
|
---|
69 | },
|
---|
70 | "test": {
|
---|
71 | "builder": "@angular-devkit/build-angular:karma",
|
---|
72 | "options": {
|
---|
73 | "main": "src/test.ts",
|
---|
74 | "polyfills": "src/polyfills.ts",
|
---|
75 | "tsConfig": "src/tsconfig.spec.json",
|
---|
76 | "karmaConfig": "src/karma.conf.js",
|
---|
77 | "styles": [
|
---|
78 | "src/styles.css"
|
---|
79 | ],
|
---|
80 | "scripts": [],
|
---|
81 | "assets": [
|
---|
82 | "src/assets"
|
---|
83 | ]
|
---|
84 | }
|
---|
85 | },
|
---|
86 | "lint": {
|
---|
87 | "builder": "@angular-devkit/build-angular:tslint",
|
---|
88 | "options": {
|
---|
89 | "tsConfig": [
|
---|
90 | "src/tsconfig.app.json",
|
---|
91 | "src/tsconfig.spec.json"
|
---|
92 | ],
|
---|
93 | "exclude": [
|
---|
94 | "**/node_modules/**"
|
---|
95 | ]
|
---|
96 | }
|
---|
97 | },
|
---|
98 | "server": {
|
---|
99 | "builder": "@angular-devkit/build-angular:server",
|
---|
100 | "options": {
|
---|
101 | "outputPath": "dist-server",
|
---|
102 | "main": "src/main.ts",
|
---|
103 | "tsConfig": "src/tsconfig.server.json"
|
---|
104 | },
|
---|
105 | "configurations": {
|
---|
106 | "dev": {
|
---|
107 | "optimization": true,
|
---|
108 | "outputHashing": "all",
|
---|
109 | "sourceMap": false,
|
---|
110 | "namedChunks": false,
|
---|
111 | "extractLicenses": true,
|
---|
112 | "vendorChunk": true
|
---|
113 | },
|
---|
114 | "production": {
|
---|
115 | "optimization": true,
|
---|
116 | "outputHashing": "all",
|
---|
117 | "sourceMap": false,
|
---|
118 | "namedChunks": false,
|
---|
119 | "extractLicenses": true,
|
---|
120 | "vendorChunk": false
|
---|
121 | }
|
---|
122 | }
|
---|
123 | }
|
---|
124 | }
|
---|
125 | },
|
---|
126 | "Farmatiko-e2e": {
|
---|
127 | "root": "e2e/",
|
---|
128 | "projectType": "application",
|
---|
129 | "architect": {
|
---|
130 | "e2e": {
|
---|
131 | "builder": "@angular-devkit/build-angular:protractor",
|
---|
132 | "options": {
|
---|
133 | "protractorConfig": "e2e/protractor.conf.js",
|
---|
134 | "devServerTarget": "Farmatiko:serve"
|
---|
135 | }
|
---|
136 | },
|
---|
137 | "lint": {
|
---|
138 | "builder": "@angular-devkit/build-angular:tslint",
|
---|
139 | "options": {
|
---|
140 | "tsConfig": "e2e/tsconfig.e2e.json",
|
---|
141 | "exclude": [
|
---|
142 | "**/node_modules/**"
|
---|
143 | ]
|
---|
144 | }
|
---|
145 | }
|
---|
146 | }
|
---|
147 | }
|
---|
148 | },
|
---|
149 | "defaultProject": "Farmatiko"
|
---|
150 | } |
---|