mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
173 lines
5.6 KiB
173 lines
5.6 KiB
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"MyProjectName": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/MyProjectName",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"aot": true,
|
|
"extractCss": true,
|
|
"allowedCommonJsDependencies": ["chart.js", "js-sha256"],
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
|
"styles": [
|
|
{
|
|
"input": "node_modules/@fortawesome/fontawesome-free/css/all.min.css",
|
|
"inject": true,
|
|
"bundleName": "fontawesome-all.min"
|
|
},
|
|
{
|
|
"input": "node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css",
|
|
"inject": true,
|
|
"bundleName": "fontawesome-v4-shims.min"
|
|
},
|
|
{
|
|
"input": "node_modules/@swimlane/ngx-datatable/index.css",
|
|
"inject": true,
|
|
"bundleName": "ngx-datatable-index"
|
|
},
|
|
{
|
|
"input": "node_modules/@swimlane/ngx-datatable/assets/icons.css",
|
|
"inject": true,
|
|
"bundleName": "ngx-datatable-icons"
|
|
},
|
|
{
|
|
"input": "node_modules/@swimlane/ngx-datatable/themes/material.css",
|
|
"inject": true,
|
|
"bundleName": "ngx-datatable-material"
|
|
},
|
|
{
|
|
"input": "node_modules/@abp/ng.theme.shared/styles/bootstrap-rtl.min.css",
|
|
"inject": false,
|
|
"bundleName": "bootstrap-rtl.min"
|
|
},
|
|
{
|
|
"input": "node_modules/bootstrap/dist/css/bootstrap.min.css",
|
|
"inject": true,
|
|
"bundleName": "bootstrap-ltr.min"
|
|
},
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "MyProjectName:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "MyProjectName:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "MyProjectName:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
|
"styles": [
|
|
{
|
|
"input": "node_modules/bootstrap/dist/css/bootstrap.min.css",
|
|
"inject": true,
|
|
"bundleName": "bootstrap.min"
|
|
},
|
|
"src/styles.scss",
|
|
{
|
|
"input": "node_modules/@fortawesome/fontawesome-free/css/all.min.css",
|
|
"inject": false,
|
|
"bundleName": "fontawesome-all.min"
|
|
},
|
|
{
|
|
"input": "node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css",
|
|
"inject": false,
|
|
"bundleName": "fontawesome-v4-shims.min"
|
|
}
|
|
],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "MyProjectName:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "MyProjectName:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "MyProjectName",
|
|
"cli": {
|
|
"analytics": false
|
|
}
|
|
}
|