All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
90 lines
1.9 KiB
JSON
90 lines
1.9 KiB
JSON
{
|
|
"name": "frontend",
|
|
"$schema": "node_modules/nx/schemas/project-schema.json",
|
|
"includedScripts": [],
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"sourceRoot": "./src",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:application",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/frontend",
|
|
"index": "./src/index.html",
|
|
"browser": "./src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "public"
|
|
}
|
|
],
|
|
"styles": ["./src/styles.scss", "./src/theme.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kb",
|
|
"maximumError": "1mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "4kb",
|
|
"maximumError": "8kb"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": 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",
|
|
"options": {
|
|
"lintFilePatterns": ["./src"]
|
|
}
|
|
},
|
|
"serve-static": {
|
|
"continuous": true,
|
|
"executor": "@nx/web:file-server",
|
|
"options": {
|
|
"buildTarget": "frontend:build",
|
|
"staticFilePath": "dist/frontend/browser",
|
|
"spa": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|