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.
194 lines
6.7 KiB
194 lines
6.7 KiB
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"cli": {
|
|
"analytics": false
|
|
},
|
|
"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-angular:ng-packagr",
|
|
"options": {
|
|
"project": "projects/my-project-name/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/my-project-name/tsconfig.lib.prod.json"
|
|
},
|
|
"development": {
|
|
"tsConfig": "projects/my-project-name/tsconfig.lib.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"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-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"projects/my-project-name/**/*.ts",
|
|
"projects/my-project-name/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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",
|
|
"inlineStyleLanguage": "scss",
|
|
"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/bootstrap/dist/css/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": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
],
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "projects/dev-app/src/environments/environment.ts",
|
|
"with": "projects/dev-app/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"buildOptimizer": false,
|
|
"optimization": false,
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "dev-app:build:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "dev-app:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"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",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": ["projects/dev-app/src/favicon.ico", "projects/dev-app/src/assets"],
|
|
"styles": [
|
|
"node_modules/bootstrap/dist/css/bootstrap.min.css",
|
|
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
|
|
"node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css",
|
|
"node_modules/@swimlane/ngx-datatable/index.css",
|
|
"node_modules/@swimlane/ngx-datatable/assets/icons.css",
|
|
"node_modules/@swimlane/ngx-datatable/themes/material.css",
|
|
"projects/dev-app/src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["projects/dev-app/**/*.ts", "projects/dev-app/**/*.html"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "dev-app"
|
|
}
|