mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-14 19:46:29 +08:00
12cd29c128
!nuf
49 lines
1.1 KiB
JSON
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
|
|
}
|
|
}
|
|
}
|