80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"name": "playground",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"sourceRoot": "apps/playground/src",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular/build:application",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"outputPath": "dist/apps/playground",
|
|
"browser": "apps/playground/src/main.ts",
|
|
"tsConfig": "apps/playground/tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "apps/playground/public"
|
|
}
|
|
],
|
|
"styles": [
|
|
"apps/playground/src/styles.scss"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "3mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "300kb",
|
|
"maximumError": "500kb"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"continuous": true,
|
|
"executor": "@angular/build:dev-server",
|
|
"defaultConfiguration": "development",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "playground:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "playground:build:development"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint"
|
|
},
|
|
"serve-static": {
|
|
"continuous": true,
|
|
"executor": "@nx/web:file-server",
|
|
"options": {
|
|
"buildTarget": "playground:build",
|
|
"staticFilePath": "dist/apps/playground/browser",
|
|
"spa": true
|
|
}
|
|
}
|
|
}
|
|
}
|