forked from DouglasNeuroInformatics/OpenDataCapture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathturbo.json
50 lines (50 loc) · 1.22 KB
/
turbo.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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env", "eslint.config.js", "tsconfig.base.json", "prettier.config.js"],
"globalEnv": ["NODE_ENV", "NODE_OPTIONS"],
"tasks": {
"gateway#build": {
"dependsOn": ["db:push"]
},
"build": {
"dependsOn": ["^build", "db:generate"],
"env": [
"API_BASE_URL",
"CONTACT_EMAIL",
"DOCS_URL",
"GITHUB_REPO_URL",
"LICENSE_URL",
"GATEWAY_ENABLED",
"RELEASE_VERSION"
],
"outputs": ["dist/**"]
},
"db:generate": {
"outputs": ["node_modules/@prisma/generated-client/**"]
},
"db:push": {
"cache": false,
"env": ["GATEWAY_DATABASE_URL"],
"dependsOn": ["db:generate"]
},
"dev": {
"dependsOn": ["^build", "^db:generate", "db:push"],
"persistent": true
},
"dev:test": {
"dependsOn": ["^build", "^db:generate", "db:push"],
"persistent": true
},
"format": {},
"inject": {
"dependsOn": ["build"],
"outputs": ["dist/**"]
},
"lint": {
"dependsOn": ["^build", "^db:generate", "db:push"]
},
"test:e2e": {
"dependsOn": ["^build", "^db:generate", "db:push"]
}
}
}