176 lines
4.3 KiB
JSON
176 lines
4.3 KiB
JSON
{
|
|
"version": 1,
|
|
"projectName": "cavallium-website",
|
|
"languages": ["it", "en"],
|
|
"localIpAddress": "0.0.0.0",
|
|
"disableHostCheck": true,
|
|
"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/manifest.json",
|
|
"src/assets",
|
|
"src/documents"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss",
|
|
"src/styles-fonts.scss"
|
|
],
|
|
"scripts": [
|
|
"node_modules/marked/lib/marked.js"
|
|
],
|
|
"es5BrowserSupport": false,
|
|
"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,
|
|
"serviceWorker": 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"
|
|
},
|
|
"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": [
|
|
"src/styles.scss",
|
|
"src/styles-fonts.scss"
|
|
],
|
|
"scripts": [
|
|
"node_modules/marked/lib/marked.js"
|
|
],
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/manifest.json",
|
|
"src/assets",
|
|
"src/documents"
|
|
]
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
} |