-
Notifications
You must be signed in to change notification settings - Fork 209
/
turbo.json
50 lines (50 loc) · 1.09 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",
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["pull:env", "^build"],
"outputs": [".next/**", "!.next/cache/**"],
"env": [
"VERCEL_ENV",
"GOOGLE_ANALYTICS_ID",
"AMPLITUDE_API_KEY",
"CLICKHOUSE_URL",
"CLICKHOUSE_USERNAME",
"CLICKHOUSE_PASSWORD"
]
},
"fix:lint": {
"dependsOn": ["fix:lint:eslint", "fix:lint:stylelint"],
"cache": false
},
"fix:lint:eslint": {
"dependsOn": ["^build"],
"cache": false
},
"fix:lint:stylelint": {
"cache": false
},
"pull:env": {
"outputs": [".env.local"],
"cache": false
},
"start:dev": {
"dependsOn": ["pull:env"],
"persistent": true,
"cache": false
},
"start:prod": {
"dependsOn": ["build"],
"persistent": true,
"cache": false
},
"test:lint": {
"dependsOn": ["test:lint:eslint", "test:lint:stylelint"]
},
"test:lint:eslint": {
"dependsOn": ["^build"]
},
"test:lint:stylelint": {}
}
}