This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
130 lines (130 loc) · 4.13 KB
/
project.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "api",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/api/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/webpack:webpack",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"dependsOn": [ "common:build"],
"options": {
"target": "node",
"compiler": "tsc",
"outputPath": "dist/apps/api",
"main": "apps/api/src/main.ts",
"tsConfig": "apps/api/tsconfig.app.json",
"asset": ["apps/api/src/asset"],
"webpackConfig": "apps/api/webpack.config.js"
},
"configurations": {
"development": {},
"production": {}
}
},
"serve": {
"executor": "@nx/js:node",
"defaultConfiguration": "development",
"options": {
"buildTarget": "api:build",
"inspect": false
},
"configurations": {
"development": {
"buildTarget": "api:build:development",
"inspect": false
},
"production": {
"buildTarget": "api:build:production",
"inspect": false
}
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"prisma-generate": {
"executor": "@nx-tools/nx-prisma:generate",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-migrate": {
"executor": "@nx-tools/nx-prisma:migrate",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-pull": {
"executor": "@nx-tools/nx-prisma:pull",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-push": {
"executor": "@nx-tools/nx-prisma:push",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-deploy": {
"executor": "@nx-tools/nx-prisma:deploy",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-status": {
"executor": "@nx-tools/nx-prisma:status",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-studio": {
"executor": "@nx-tools/nx-prisma:studio",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-reset": {
"executor": "@nx-tools/nx-prisma:reset",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-resolve": {
"executor": "@nx-tools/nx-prisma:resolve",
"options": {
"schema": "apps/api/prisma/schema.prisma"
}
},
"prisma-seed": {
"executor": "@nx-tools/nx-prisma:seed",
"options": {
"schema": "apps/api/prisma/schema.prisma",
"script": "apps/api/prisma/seed.ts",
"tsConfig": "apps/api/tsconfig.app.json"
}
},
"prisma-validate": {
"executor": "@nx-tools/nx-prisma:validate",
"options": {
"schema": "appdocker-compose up -ds/api/prisma/schema.prisma"
}
},
"docker-compose-up": {
"executor": "nx:run-commands",
"options": {
"commands": ["docker-compose -f apps/api/docker-compose.yml up -d"]
}
},
"docker-compose-down": {
"executor": "nx:run-commands",
"options": {
"commands": ["docker-compose -f apps/api/docker-compose.yml down"]
}
}
},
"tags": []
}