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.
205 lines
6.7 KiB
205 lines
6.7 KiB
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"my-project-name": {
|
|
"projectType": "library",
|
|
"root": "projects/my-project-name",
|
|
"sourceRoot": "projects/my-project-name/src",
|
|
"prefix": "lib",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/my-project-name/tsconfig.lib.json",
|
|
"project": "projects/my-project-name/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/my-project-name/tsconfig.lib.prod.json"
|
|
}
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/my-project-name/src/test.ts",
|
|
"tsConfig": "projects/my-project-name/tsconfig.spec.json",
|
|
"karmaConfig": "projects/my-project-name/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/my-project-name/tsconfig.lib.json",
|
|
"projects/my-project-name/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dev-app": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/dev-app",
|
|
"sourceRoot": "projects/dev-app/src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/dev-app",
|
|
"index": "projects/dev-app/src/index.html",
|
|
"main": "projects/dev-app/src/main.ts",
|
|
"polyfills": "projects/dev-app/src/polyfills.ts",
|
|
"tsConfig": "projects/dev-app/tsconfig.app.json",
|
|
"aot": true,
|
|
"extractCss": true,
|
|
"allowedCommonJsDependencies": ["chart.js", "js-sha256"],
|
|
"assets": [
|
|
"projects/dev-app/src/favicon.ico",
|
|
"projects/dev-app/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"
|
|
},
|
|
"projects/dev-app/src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/dev-app/tsconfig.prod.json",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "projects/dev-app/src/environments/environment.ts",
|
|
"with": "projects/dev-app/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": "dev-app:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "dev-app:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "dev-app:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/dev-app/src/test.ts",
|
|
"polyfills": "projects/dev-app/src/polyfills.ts",
|
|
"tsConfig": "projects/dev-app/tsconfig.spec.json",
|
|
"karmaConfig": "projects/dev-app/karma.conf.js",
|
|
"assets": [
|
|
"projects/dev-app/src/favicon.ico",
|
|
"projects/dev-app/src/assets"
|
|
],
|
|
"styles": ["projects/dev-app/src/styles.scss"],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/dev-app/tsconfig.app.json",
|
|
"projects/dev-app/tsconfig.spec.json",
|
|
"projects/dev-app/e2e/tsconfig.json"
|
|
],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "projects/dev-app/e2e/protractor.conf.js",
|
|
"devServerTarget": "dev-app:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "dev-app:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false
|
|
},
|
|
"defaultProject": "dev-app"
|
|
}
|