171 lines
4.8 KiB
JSON
171 lines
4.8 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"defaultProject": "app",
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"app": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"schematics": {},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-builders/custom-webpack:browser",
|
|
"options": {
|
|
"customWebpackConfig": {
|
|
"path": "./webpack.config.js"
|
|
},
|
|
"allowedCommonJsDependencies":[
|
|
"chart.js"
|
|
],
|
|
"outputPath": "www",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "assets"
|
|
},
|
|
{
|
|
"glob": "**/*.svg",
|
|
"input": "node_modules/ionicons/dist/ionicons/svg",
|
|
"output": "./svg"
|
|
}
|
|
],
|
|
"styles": [
|
|
{
|
|
"input": "src/theme/theme.scss"
|
|
}
|
|
],
|
|
"scripts": [],
|
|
"webWorkerTsConfig": "tsconfig.worker.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/testing/testing.module.ts",
|
|
"with": "src/testing/testing.module.prod.ts"
|
|
},
|
|
{
|
|
"replace": "src/core/features/emulator/emulator.module.ts",
|
|
"with": "src/core/features/emulator/emulator.module.prod.ts"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"scripts": false,
|
|
"styles": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "5mb",
|
|
"maximumError": "20mb"
|
|
}
|
|
]
|
|
},
|
|
"testing": {
|
|
"optimization": {
|
|
"scripts": false,
|
|
"styles": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true
|
|
},
|
|
"ci": {
|
|
"progress": false
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "app:build",
|
|
"disableHostCheck": true,
|
|
"port": 8100
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "app:build:production"
|
|
},
|
|
"ci": {
|
|
"progress": false
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "app:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"src/**/*.ts",
|
|
"src/core/**/*.html",
|
|
"src/addons/**/*.html"
|
|
]
|
|
}
|
|
},
|
|
"ionic-cordova-build": {
|
|
"builder": "@ionic/angular-toolkit:cordova-build",
|
|
"options": {
|
|
"browserTarget": "app:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "app:build:production"
|
|
}
|
|
}
|
|
},
|
|
"ionic-cordova-serve": {
|
|
"builder": "@ionic/angular-toolkit:cordova-serve",
|
|
"options": {
|
|
"cordovaBuildTarget": "app:ionic-cordova-build",
|
|
"devServerTarget": "app:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"cordovaBuildTarget": "app:ionic-cordova-build:production",
|
|
"devServerTarget": "app:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false,
|
|
"defaultCollection": "@ionic/angular-toolkit"
|
|
},
|
|
"schematics": {
|
|
"@ionic/angular-toolkit:component": {
|
|
"styleext": "scss"
|
|
},
|
|
"@ionic/angular-toolkit:page": {
|
|
"styleext": "scss"
|
|
}
|
|
}
|
|
}
|