-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
bunfig.toml
72 lines (51 loc) · 1.86 KB
/
bunfig.toml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# preload these modules before running bun
preload = [ "./resources/plugins/preloader.ts" ]
[test]
preload = [ "./tests/setup.ts" ]
coverage = true
[install]
# To configure Bun's package auto-install behavior.
# Default "auto" — when no node_modules folder is found, Bun
# will automatically install dependencies on the fly during execution.
# auto = true
registry = { url = "https://registry.npmjs.org/", token = "$BUN_AUTH_TOKEN" }
# where `bun install --global` installs packages
globalDir = "~/.stacks/bun/install/global"
# where globally-installed package bins are linked
globalBinDir = "~/.stacks/bin"
# whether to install optionalDependencies (currently needed because all drivers are optional)
optional = true
# whether to install devDependencies
dev = true
# whether to install peerDependencies
peer = true
# equivalent to `--production` flag
production = false
# equivalent to `--frozen-lockfile` flag
frozenLockfile = false
# equivalent to `--dry-run` flag
dryRun = false
# equivalent to `--concurrent-scripts` flag
# concurrentScripts = 16 # (cpu count or GOMAXPROCS) x2
# [install.scopes]
# registry as string
# myorg = "https://username:[email protected]/"
# registry with username/password
# you can reference environment variables
# myorg = { username = "myusername", password = "$npm_password", url = "https://registry.myorg.com/" }
# registry with token
# myorg = { token = "$npm_token", url = "https://registry.myorg.com/" }
[install.cache]
# the directory to use for the cache
dir = "~/.stacks/install/cache"
# when true, don't load from the global cache.
# Bun may still write to node_modules/.cache
disable = false
# when true, always resolve the latest versions from the registry
disableManifest = false
[install.lockfile]
# whether to save the lockfile to disk
save = true
[run]
# equivalent to `bun --bun` for all `bun run` commands
bun = true