-
Notifications
You must be signed in to change notification settings - Fork 1
/
turbo.json
34 lines (34 loc) · 1.24 KB
/
turbo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"$schema": "https://turbo.build/schema.json",
// see https://turbo.build/repo/docs/getting-started/existing-monorepo#create-a-pipeline
"pipeline": {
"build": {
// A package's `build` script depends on that package's
// dependencies and devDependencies
// `build` tasks being completed first
// (the `^` symbol signifies `upstream`).
"dependsOn": ["^build"],
// note: output globs are relative to each package's `package.json`
// (and not the monorepo root)
"outputs": ["dist/**", "build/**"],
"outputMode": "new-only"
},
// A package's `lint` script has no dependencies and
// can be run whenever. It also has no filesystem outputs.
"start": {
"dependsOn": ["build"]
},
// A package's `lint` script has no dependencies and
// can be run whenever. It also has no filesystem outputs.
"dev": {},
// A package's `lint` script has no dependencies and
// can be run whenever. It also has no filesystem outputs.
"lint": {},
// A package's `test` script has no dependencies and
// can be run whenever. It also has no filesystem outputs.
"test": {}
},
"globalDependencies": [
"tsconfig.json" // contents will impact hashes of all tasks
]
}