generated from nhcarrigan/template
86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"name": "frontend",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"sourceRoot": "apps/frontend/src",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:browser",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/apps/frontend",
|
|
"index": "apps/frontend/src/index.html",
|
|
"main": "apps/frontend/src/main.ts",
|
|
"tsConfig": "apps/frontend/tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "apps/frontend/public"
|
|
}
|
|
],
|
|
"styles": ["apps/frontend/src/styles.scss"]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kb",
|
|
"maximumError": "1mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "4kb",
|
|
"maximumError": "8kb"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"buildOptimizer": false,
|
|
"optimization": false,
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"continuous": true,
|
|
"executor": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "frontend:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "frontend:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"executor": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "frontend:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint"
|
|
},
|
|
"serve-static": {
|
|
"continuous": true,
|
|
"executor": "@nx/web:file-server",
|
|
"options": {
|
|
"buildTarget": "frontend:build",
|
|
"port": 4200,
|
|
"spa": true
|
|
}
|
|
}
|
|
}
|
|
}
|