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 | "./node_modules/leaflet/dist/leaflet.css"
|
---|
31 | ],
|
---|
32 | "scripts": []
|
---|
33 | },
|
---|
34 | "configurations": {
|
---|
35 | "production": {
|
---|
36 | "fileReplacements": [
|
---|
37 | {
|
---|
38 | "replace": "src/environments/environment.ts",
|
---|
39 | "with": "src/environments/environment.prod.ts"
|
---|
40 | }
|
---|
41 | ],
|
---|
42 | "optimization": true,
|
---|
43 | "outputHashing": "all",
|
---|
44 | "sourceMap": false,
|
---|
45 | "extractCss": true,
|
---|
46 | "namedChunks": false,
|
---|
47 | "aot": true,
|
---|
48 | "extractLicenses": true,
|
---|
49 | "vendorChunk": false,
|
---|
50 | "buildOptimizer": true
|
---|
51 | }
|
---|
52 | }
|
---|
53 | },
|
---|
54 | "serve": {
|
---|
55 | "builder": "@angular-devkit/build-angular:dev-server",
|
---|
56 | "options": {
|
---|
57 | "browserTarget": "Farmatiko:build",
|
---|
58 | "port": 80
|
---|
59 | },
|
---|
60 | "configurations": {
|
---|
61 | "production": {
|
---|
62 | "browserTarget": "Farmatiko:build:production"
|
---|
63 | }
|
---|
64 | }
|
---|
65 | },
|
---|
66 | "extract-i18n": {
|
---|
67 | "builder": "@angular-devkit/build-angular:extract-i18n",
|
---|
68 | "options": {
|
---|
69 | "browserTarget": "Farmatiko:build"
|
---|
70 | }
|
---|
71 | },
|
---|
72 | "test": {
|
---|
73 | "builder": "@angular-devkit/build-angular:karma",
|
---|
74 | "options": {
|
---|
75 | "main": "src/test.ts",
|
---|
76 | "polyfills": "src/polyfills.ts",
|
---|
77 | "tsConfig": "src/tsconfig.spec.json",
|
---|
78 | "karmaConfig": "src/karma.conf.js",
|
---|
79 | "styles": [
|
---|
80 | "src/styles.css"
|
---|
81 | ],
|
---|
82 | "scripts": [],
|
---|
83 | "assets": [
|
---|
84 | "src/assets"
|
---|
85 | ]
|
---|
86 | }
|
---|
87 | },
|
---|
88 | "lint": {
|
---|
89 | "builder": "@angular-devkit/build-angular:tslint",
|
---|
90 | "options": {
|
---|
91 | "tsConfig": [
|
---|
92 | "src/tsconfig.app.json",
|
---|
93 | "src/tsconfig.spec.json"
|
---|
94 | ],
|
---|
95 | "exclude": [
|
---|
96 | "**/node_modules/**"
|
---|
97 | ]
|
---|
98 | }
|
---|
99 | },
|
---|
100 | "server": {
|
---|
101 | "builder": "@angular-devkit/build-angular:server",
|
---|
102 | "options": {
|
---|
103 | "outputPath": "dist-server",
|
---|
104 | "main": "src/main.ts",
|
---|
105 | "tsConfig": "src/tsconfig.server.json"
|
---|
106 | },
|
---|
107 | "configurations": {
|
---|
108 | "dev": {
|
---|
109 | "optimization": true,
|
---|
110 | "outputHashing": "all",
|
---|
111 | "sourceMap": false,
|
---|
112 | "namedChunks": false,
|
---|
113 | "extractLicenses": true,
|
---|
114 | "vendorChunk": true
|
---|
115 | },
|
---|
116 | "production": {
|
---|
117 | "optimization": true,
|
---|
118 | "outputHashing": "all",
|
---|
119 | "sourceMap": false,
|
---|
120 | "namedChunks": false,
|
---|
121 | "extractLicenses": true,
|
---|
122 | "vendorChunk": false
|
---|
123 | }
|
---|
124 | }
|
---|
125 | }
|
---|
126 | }
|
---|
127 | },
|
---|
128 | "Farmatiko-e2e": {
|
---|
129 | "root": "e2e/",
|
---|
130 | "projectType": "application",
|
---|
131 | "architect": {
|
---|
132 | "e2e": {
|
---|
133 | "builder": "@angular-devkit/build-angular:protractor",
|
---|
134 | "options": {
|
---|
135 | "protractorConfig": "e2e/protractor.conf.js",
|
---|
136 | "devServerTarget": "Farmatiko:serve"
|
---|
137 | }
|
---|
138 | },
|
---|
139 | "lint": {
|
---|
140 | "builder": "@angular-devkit/build-angular:tslint",
|
---|
141 | "options": {
|
---|
142 | "tsConfig": "e2e/tsconfig.e2e.json",
|
---|
143 | "exclude": [
|
---|
144 | "**/node_modules/**"
|
---|
145 | ]
|
---|
146 | }
|
---|
147 | }
|
---|
148 | }
|
---|
149 | }
|
---|
150 | },
|
---|
151 | "defaultProject": "Farmatiko"
|
---|
152 | } |
---|