cavallium-website/buildconfig.json

169 lines
4.1 KiB
JSON
Raw Normal View History

2019-04-12 00:16:56 +02:00
{
"version": 1,
"projectName": "cavallium-website",
"languages": ["it", "en"],
"localIpAddress": "0.0.0.0",
"disableHostCheck": true,
2019-04-12 00:16:56 +02:00
"angular": {
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"cavallium-website": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/cavallium-website",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets",
"src/documents"
2019-04-12 00:16:56 +02:00
],
"styles": [
2019-04-12 20:20:38 +02:00
"src/styles.scss",
"src/styles-fonts.scss"
2019-04-12 00:16:56 +02:00
],
"scripts": [],
"es5BrowserSupport": true,
"i18nFormat": "xlf",
"i18nMissingTranslation": "error"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
},
"en": {
"outputPath": "dist/english/",
"i18nFile": "src/locale/messages.en.xlf",
"i18nLocale": "en"
},
"it": {
"outputPath": "dist/italian/",
"i18nFile": "src/locale/messages.it.xlf",
"i18nLocale": "it"
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "cavallium-website:build"
},
"configurations": {
"production": {
"browserTarget": "cavallium-website:build:production"
},
"en": {
"browserTarget": "my-project:build:en"
2019-04-12 00:16:56 +02:00
},
"it": {
"browserTarget": "my-project:build:it"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "cavallium-website:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
2019-04-12 20:20:38 +02:00
"src/styles.scss",
"src/styles-fonts.scss"
2019-04-12 00:16:56 +02:00
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets",
"src/documents"
2019-04-12 00:16:56 +02:00
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"cavallium-website-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "cavallium-website:serve"
},
"configurations": {
"production": {
"devServerTarget": "cavallium-website:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "cavallium-website"
}
}