167 lines
4.5 KiB
JSON
167 lines
4.5 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"defaultProject": "karusic",
|
|
"projects": {
|
|
"karusic": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon.ico"
|
|
],
|
|
"styles": [
|
|
"src/styles.less",
|
|
"src/generic_page.less",
|
|
"src/theme.color.blue.less",
|
|
"src/theme.checkbox.less",
|
|
"src/theme.modal.less"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
},
|
|
"develop": {
|
|
"optimization": false,
|
|
"outputHashing": "none",
|
|
"sourceMap": true,
|
|
"namedChunks": true,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": true,
|
|
"buildOptimizer": false
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "karusic:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "karusic:build:production"
|
|
},
|
|
"develop": {
|
|
"browserTarget": "karusic:build:develop"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "karusic:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"karmaConfig": "./karma.conf.js",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
"scripts": [],
|
|
"styles": [
|
|
"src/styles.less",
|
|
"src/generic_page.less",
|
|
"src/theme.color.blue.less",
|
|
"src/theme.checkbox.less",
|
|
"src/theme.modal.less"
|
|
],
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon.ico"
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"fix": true,
|
|
"eslintConfig": ".eslintrc.js",
|
|
"lintFilePatterns": [
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.ts"
|
|
]
|
|
}
|
|
},
|
|
"TTTTTTlint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"karusic-e2e": {
|
|
"root": "e2e",
|
|
"sourceRoot": "e2e",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "./protractor.conf.js",
|
|
"devServerTarget": "karusic:serve"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"e2e/tsconfig.e2e.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "app",
|
|
"style": "less"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "app"
|
|
}
|
|
}
|
|
} |