30 lines
670 B
JSON
30 lines
670 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalDependencies": ["brand.config.json", ".env.example", "tsconfig.base.json"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^typecheck"],
|
|
"outputs": []
|
|
},
|
|
"db:test-setup": {
|
|
"dependsOn": [],
|
|
"outputs": [],
|
|
"cache": false,
|
|
"env": ["TEST_DATABASE_URL"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^typecheck", "@app/database#db:test-setup"],
|
|
"outputs": [],
|
|
"env": ["TEST_DATABASE_URL", "REDIS_URL"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|