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