-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathproject.json
More file actions
57 lines (57 loc) · 1.52 KB
/
project.json
File metadata and controls
57 lines (57 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "operation_api",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "backend/plugins/operation_api/src",
"projectType": "application",
"tags": [],
"targets": {
"build": {
"executor": "nx:run-commands",
"cache": true,
"options": {
"cwd": "backend/plugins/operation_api",
"commands": [
"pnpm build"
]
},
"dependsOn": [
"^build",
"build:packageJson"
]
},
"build:packageJson": {
"executor": "@nx/js:tsc",
"options": {
"main": "backend/plugins/operation_api/dist/src/main.js",
"tsConfig": "backend/plugins/operation_api/tsconfig.build.json",
"outputPath": "backend/plugins/operation_api/dist",
"updateBuildableProjectDepsInPackageJson": true,
"buildableProjectDepsInPackageJsonType": "dependencies"
}
},
"start": {
"executor": "nx:run-commands",
"dependsOn": [
"typecheck",
"build"
],
"options": {
"cwd": "backend/plugins/operation_api",
"command": "NODE_ENV=development node dist/src/main.js"
}
},
"serve": {
"executor": "nx:run-commands",
"options": {
"cwd": "backend/plugins/operation_api",
"command": "NODE_ENV=development pnpm dev"
}
},
"docker-build": {
"dependsOn": [
"build"
],
"command": "docker build -f backend/plugins/operation_api/Dockerfile . -t erxes/erxes-next-operation_api"
}
}
}