aboutsummaryrefslogtreecommitdiffhomepage
path: root/turbo.json
blob: 6e70bb751890b50c740f859624b8c8eac58e0035 (plain)
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
{
  "$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"],
      "persistent": true
    },
    "@monkeytype/backend#dev": {
      "dependsOn": ["^build"],
      "env": ["DB_URI", "REDIS_URI", "PORT"],
      "persistent": true
    }
  }
}