-
Notifications
You must be signed in to change notification settings - Fork 11
/
turbo.json
39 lines (39 loc) · 1.02 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env", "eslint.config.js", "jsconfig.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"],
"outputs": ["dist/**"]
},
"db:generate": {
"outputs": ["dist/**"]
},
"db:push": {
"cache": false,
"env": ["GATEWAY_DATABASE_URL"],
"dependsOn": ["db:generate"]
},
"dev": {
"cache": false,
"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"]
}
}
}