54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "catalog-service",
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "catalog-service/src",
|
|
"projectType": "application",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/catalog-service",
|
|
"main": "catalog-service/src/main.ts",
|
|
"tsConfig": "catalog-service/tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"input": "catalog-service/src/assets",
|
|
"glob": "**/*",
|
|
"output": "assets"
|
|
},
|
|
{
|
|
"input": "catalog-service/src/locales",
|
|
"glob": "**/*",
|
|
"output": "locales"
|
|
}
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"sourceMap": false
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nx/js:node",
|
|
"defaultConfiguration": "development",
|
|
"dependsOn": ["build"],
|
|
"options": {
|
|
"buildTarget": "catalog-service:build",
|
|
"runBuildTargetDependencies": false
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "catalog-service:build:development"
|
|
},
|
|
"production": {
|
|
"buildTarget": "catalog-service:build:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|