70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"name": "web-app",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"sourceRoot": "apps/web-app/src",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular/build:application",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"browser": "apps/web-app/src/main.ts",
|
|
"index": "apps/web-app/src/index.html",
|
|
"outputPath": "dist/apps/web-app",
|
|
"tsConfig": "apps/web-app/tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "apps/web-app/public"
|
|
}
|
|
],
|
|
"styles": ["apps/web-app/src/styles.scss"]
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
},
|
|
"production": {
|
|
"optimization": true,
|
|
"extractLicenses": true,
|
|
"sourceMap": false
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"continuous": true,
|
|
"executor": "@angular/build:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "web-app:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "web-app:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint"
|
|
},
|
|
"test": {
|
|
"executor": "@angular/build:unit-test",
|
|
"options": {}
|
|
},
|
|
"serve-static": {
|
|
"continuous": true,
|
|
"executor": "@nx/web:file-server",
|
|
"options": {
|
|
"buildTarget": "web-app:build",
|
|
"staticFilePath": "dist/apps/web-app/browser",
|
|
"spa": true
|
|
}
|
|
}
|
|
}
|
|
}
|