angular.json
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"planet-app": {
"i18n": {
"locales": {
"en": {
"translation": "src/i18n/messages.eng.xlf",
"baseHref": "/eng/"
},
"so": {
"translation": "src/i18n/messages.som.xlf",
"baseHref": "/som/"
},
"fr": {
"translation": "src/i18n/messages.fra.xlf",
"baseHref": "/fra/"
},
"ne": {
"translation": "src/i18n/messages.nep.xlf",
"baseHref": "/nep/"
},
"ar": {
"translation": "src/i18n/messages.ara.xlf",
"baseHref": "/ara/"
},
"es": {
"translation": "src/i18n/messages.spa.xlf",
"baseHref": "/spa/"
}
}
},
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"assets": [
"src/assets",
"src/manifest.json"
],
"styles": [
"node_modules/material-design-icons/iconfont/material-icons.css",
"src/styles.scss",
"src/styles/calendar.scss",
"src/styles/roboto.scss",
"src/simplemde.scss",
"node_modules/@fortawesome/fontawesome-free/css/all.css"
],
"scripts": [],
"i18nMissingTranslation": "ignore",
"poll": 2000
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true,
"ngswConfigPath": "src/ngsw-config.json",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
},
"test": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.test.ts"
}
]
},
"eng": {
"aot": true,
"outputPath": "dist/eng",
"localize": ["en"],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]},
"som": {
"aot": true,
"outputPath": "dist/som",
"localize": ["so"],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]},
"fra": {
"aot": true,
"outputPath": "dist/fra",
"localize": ["fr"],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]},
"nep": {
"aot": true,
"outputPath": "dist/nep",
"localize": ["ne"],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]},
"ara": {
"aot": true,
"outputPath": "dist/ara",
"localize": ["ar"],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]},
"spa": {
"aot": true,
"outputPath": "dist/spa",
"localize": ["es"],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "planet-app:build",
"port": 3000,
"host": "0.0.0.0"
},
"configurations": {
"production": {
"browserTarget": "planet-app:build:production"
},
"test": {
"browserTarget": "planet-app:build:test"
},
"som": {
"browserTarget": "planet-app:build:som"
},
"fra": {
"browserTarget": "planet-app:build:fra"
},
"nep": {
"browserTarget": "planet-app:build:nep"
},
"ara": {
"browserTarget": "planet-app:build:ara"
},
"spa": {
"browserTarget": "planet-app:build:spa"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "planet-app:build",
"outputPath": "src/i18n",
"format": "xlf",
"i18nFormat": "xlf",
"ivy": true
},
"ivy":true
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [],
"styles": [
"node_modules/material-design-icons/iconfont/material-icons.css",
"src/styles.scss"
],
"assets": [
"src/assets",
"src/manifest.json"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": []
}
}
}
},
"planet-app-e2e": {
"root": "",
"sourceRoot": "",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "planet-app:serve:test"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": []
}
}
}
}
},
"defaultProject": "planet-app",
"schematics": {
"@schematics/angular:class": {
"skipTests": true
},
"@schematics/angular:component": {
"skipTests": false,
"inlineStyle": false,
"inlineTemplate": false,
"prefix": "app",
"style": "scss"
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
}