mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalDependencies": [".env", ".env.local", ".env.development.local"],
|
|
"globalEnv": ["NPM_TOKEN", "DEPLOYMENT_PROTECTION_BYPASS"],
|
|
"tasks": {
|
|
"dev": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"env": [
|
|
"EDGE_CONFIG",
|
|
"FLAGS_SECRET",
|
|
"LAUNCHDARKLY_CLIENT_SIDE_ID",
|
|
"LAUNCHDARKLY_PROJECT_SLUG",
|
|
"FLAGS",
|
|
"BACKEND_URL"
|
|
],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"outputs": [
|
|
".next/**",
|
|
"!.next/cache/**",
|
|
"dist/**",
|
|
".svelte-kit/**",
|
|
".vercel/**"
|
|
]
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"type-check": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"attw": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"start": {
|
|
"dependsOn": ["^start"]
|
|
},
|
|
"test:e2e": {
|
|
"dependsOn": ["^build", "^start"],
|
|
"env": ["FLAGS_SECRET"]
|
|
},
|
|
"publint": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test:integration": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"prettier-check": {}
|
|
}
|
|
}
|