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.
223 lines
5.7 KiB
223 lines
5.7 KiB
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"cli": {
|
|
"packageManager": "pnpm",
|
|
"analytics": false
|
|
},
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"admin": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "less"
|
|
}
|
|
},
|
|
"root": "projects/admin",
|
|
"sourceRoot": "projects/admin/src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/admin",
|
|
"index": "projects/admin/src/index.html",
|
|
"main": "projects/admin/src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "projects/admin/tsconfig.app.json",
|
|
"inlineStyleLanguage": "less",
|
|
"assets": [
|
|
"projects/admin/src/favicon.ico",
|
|
"projects/admin/src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
|
|
"output": "/assets/"
|
|
}
|
|
],
|
|
"styles": ["projects/admin/src/styles.less"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "21mb",
|
|
"maximumError": "21mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "21mb",
|
|
"maximumError": "21mb"
|
|
}
|
|
],
|
|
"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": "admin:build:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "admin:build:development",
|
|
"port": 4200
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "admin:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"polyfills": ["zone.js", "zone.js/testing"],
|
|
"tsConfig": "projects/admin/tsconfig.spec.json",
|
|
"inlineStyleLanguage": "less",
|
|
"assets": ["projects/admin/src/favicon.ico", "projects/admin/src/assets"],
|
|
"styles": ["projects/admin/src/styles.less"],
|
|
"scripts": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cdk": {
|
|
"projectType": "library",
|
|
"root": "projects/cdk",
|
|
"sourceRoot": "projects/cdk/src",
|
|
"prefix": "lib",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
"options": {
|
|
"project": "projects/cdk/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/cdk/tsconfig.lib.prod.json"
|
|
},
|
|
"development": {
|
|
"tsConfig": "projects/cdk/tsconfig.lib.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"tsConfig": "projects/cdk/tsconfig.spec.json",
|
|
"polyfills": ["zone.js", "zone.js/testing"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"client": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "less"
|
|
}
|
|
},
|
|
"root": "projects/client",
|
|
"sourceRoot": "projects/client/src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/client",
|
|
"index": "projects/client/src/index.html",
|
|
"main": "projects/client/src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "projects/client/tsconfig.app.json",
|
|
"inlineStyleLanguage": "less",
|
|
"assets": [
|
|
"projects/client/src/favicon.ico",
|
|
"projects/client/src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
|
|
"output": "/assets/"
|
|
}
|
|
],
|
|
"styles": ["projects/client/src/styles.less"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "21mb",
|
|
"maximumError": "21mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "21mb",
|
|
"maximumError": "21mb"
|
|
}
|
|
],
|
|
"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": "client:build:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "client:build:development",
|
|
"port": 4201
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "client:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"polyfills": ["zone.js", "zone.js/testing"],
|
|
"tsConfig": "projects/client/tsconfig.spec.json",
|
|
"inlineStyleLanguage": "less",
|
|
"assets": ["projects/client/src/favicon.ico", "projects/client/src/assets"],
|
|
"styles": ["projects/client/src/styles.less"],
|
|
"scripts": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|