87 lines
2.5 KiB
JSON
87 lines
2.5 KiB
JSON
{
|
|
"name": "NwaifuWeb",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"generators": {
|
|
"@schematics/angular:component": {
|
|
"style": "less"
|
|
}
|
|
},
|
|
"sourceRoot": "apps/NwaifuWeb/src",
|
|
"prefix": "app",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:application",
|
|
"options": {
|
|
"outputPath": "dist/apps/NwaifuWeb",
|
|
"index": "apps/NwaifuWeb/src/index.html",
|
|
"browser": "apps/NwaifuWeb/src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "apps/NwaifuWeb/tsconfig.app.json",
|
|
"inlineStyleLanguage": "less",
|
|
"assets": ["apps/NwaifuWeb/src/favicon.ico", "apps/NwaifuWeb/src/assets"],
|
|
"styles": ["apps/NwaifuWeb/src/styles.less"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kb",
|
|
"maximumError": "1mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "4kb"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"executor": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "NwaifuWeb:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "NwaifuWeb:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"executor": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "NwaifuWeb:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"polyfills": ["zone.js", "zone.js/testing"],
|
|
"tsConfig": "apps/NwaifuWeb/tsconfig.spec.json",
|
|
"inlineStyleLanguage": "less",
|
|
"assets": ["apps/NwaifuWeb/src/favicon.ico", "apps/NwaifuWeb/src/assets"],
|
|
"styles": ["apps/NwaifuWeb/src/styles.less"],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/NwaifuWeb/**/*.ts", "apps/NwaifuWeb/**/*.html"]
|
|
}
|
|
}
|
|
}
|
|
}
|