39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "stalker-mock-server",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"sourceRoot": "apps/stalker-mock-server/src",
|
|
"tags": ["scope:dev-tools"],
|
|
"targets": {
|
|
"serve": {
|
|
"continuous": true,
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "pnpm tsx apps/stalker-mock-server/src/main.ts",
|
|
"cwd": "{workspaceRoot}",
|
|
"color": true,
|
|
"env": {
|
|
"PORT": "3210",
|
|
"NODE_ENV": "development"
|
|
}
|
|
}
|
|
},
|
|
"serve-with-watch": {
|
|
"continuous": true,
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "pnpm tsx watch apps/stalker-mock-server/src/main.ts",
|
|
"cwd": "{workspaceRoot}",
|
|
"color": true,
|
|
"env": {
|
|
"PORT": "3210",
|
|
"NODE_ENV": "development"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint"
|
|
}
|
|
}
|
|
}
|