forked from monkeytypegame/monkeytype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
47 lines (47 loc) · 1.07 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env"],
"tasks": {
"parallel": {
"dependsOn": ["^parallel"]
},
"lint": {
"dependsOn": ["^parallel", "^build"]
},
"ts-check": {
"dependsOn": ["^parallel"]
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "build/**"]
},
"test": {
"dependsOn": ["^build"],
"cache": false
},
"dev": {
"dependsOn": ["^build"],
"persistent": true,
"cache": false
},
"start": {
"dependsOn": ["build"]
},
"@monkeytype/frontend#validate-json": {
"dependsOn": ["^parallel"]
},
"@monkeytype/frontend#build": {
"dependsOn": ["^build"],
"env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY"],
"outputs": ["dist/**"]
},
"@monkeytype/frontend#dev": {
"dependsOn": ["^build"],
"env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY", "SERVER_OPEN"]
},
"@monkeytype/backend#dev": {
"dependsOn": ["^build"],
"env": ["DB_URI", "REDIS_URI", "PORT"]
}
}
}