monkeytype/turbo.json
2024-08-14 12:36:21 +02:00

49 lines
1.1 KiB
JSON

{
"$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
}
}
}