-
Notifications
You must be signed in to change notification settings - Fork 0
/
bunfig.toml
41 lines (29 loc) · 1.25 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
################################################################################
# Runtime
################################################################################
# scripts to run before `bun run`-ing a file or script
# preload = []
# Reduce memory usage at the cost of performance
smol = false
# Accepted `logLevel` values: "debug" | "warn" | "error"
logLevel = "debug"
# Allow Bun to track bundle data?
telemetry = false
# Define/Replace global values with a constant value (parsed as JSON)
[define]
"process.env.author" = "'Phillip Salfity'"
################################################################################
# Test Runner
################################################################################
[test]
coverageSkipTestFiles = true # default false
coverageIgnoreSourcemaps = true # default false
# Set different thresholds for lines and functions
coverageThreshold = { line = 0.9, function = 0.9 }
################################################################################
# Package Manager
################################################################################
[install]
auto = "auto" # should bun auto install dependencies if run before installed?
[install.lockfile]
save = true # should bun save a lockfile?