2024-07-22 21:08:11 +08:00
|
|
|
{
|
|
|
|
"$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": {
|
2024-07-30 23:37:38 +08:00
|
|
|
"dependsOn": ["^build"],
|
2024-07-22 21:08:11 +08:00
|
|
|
"cache": false
|
|
|
|
},
|
|
|
|
"dev": {
|
|
|
|
"dependsOn": ["^build"],
|
|
|
|
"persistent": true,
|
|
|
|
"cache": false
|
|
|
|
},
|
2024-07-29 17:31:14 +08:00
|
|
|
"start": {
|
|
|
|
"dependsOn": ["build"]
|
|
|
|
},
|
2024-07-22 21:08:11 +08:00
|
|
|
"@monkeytype/frontend#validate-json": {
|
|
|
|
"dependsOn": ["^parallel"]
|
|
|
|
},
|
|
|
|
"@monkeytype/frontend#build": {
|
|
|
|
"dependsOn": ["^build"],
|
2024-07-27 00:02:00 +08:00
|
|
|
"env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY"],
|
|
|
|
"outputs": ["dist/**"]
|
2024-07-25 01:48:01 +08:00
|
|
|
},
|
|
|
|
"@monkeytype/frontend#dev": {
|
|
|
|
"dependsOn": ["^build"],
|
|
|
|
"env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY", "SERVER_OPEN"]
|
|
|
|
},
|
|
|
|
"@monkeytype/backend#dev": {
|
|
|
|
"dependsOn": ["^build"],
|
|
|
|
"env": ["DB_URI", "REDIS_URI", "PORT"]
|
2024-07-22 21:08:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|