39 lines
893 B
JSON
39 lines
893 B
JSON
{
|
|
"name": "api",
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "api/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "webpack-cli build",
|
|
"args": ["node-env=production"]
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"args": ["node-env=development"]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nx/js:node",
|
|
"defaultConfiguration": "development",
|
|
"dependsOn": ["build"],
|
|
"options": {
|
|
"buildTarget": "api:build",
|
|
"runBuildTargetDependencies": false
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "api:build:development"
|
|
},
|
|
"production": {
|
|
"buildTarget": "api:build:production"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|