- Update bunfig.toml with environment-specific settings and performance optimizations - Enhance package.json scripts with additional development and maintenance commands - Refactor tsconfig.json for better Bun and TypeScript compatibility - Add hot reloading, profiling, and type checking configurations - Improve build and development scripts with minification and frozen lockfile options
36 lines
508 B
TOML
36 lines
508 B
TOML
[test]
|
|
preload = ["./src/__tests__/setup.ts"]
|
|
coverage = true
|
|
timeout = 30000
|
|
testMatch = ["**/__tests__/**/*.test.ts"]
|
|
|
|
[build]
|
|
target = "node"
|
|
outdir = "./dist"
|
|
minify = true
|
|
sourcemap = "external"
|
|
|
|
[install]
|
|
production = false
|
|
frozen = true
|
|
peer = false
|
|
|
|
[install.cache]
|
|
dir = ".bun"
|
|
disable = false
|
|
|
|
[debug]
|
|
port = 9229
|
|
|
|
[env]
|
|
# Environment-specific configurations
|
|
development.LOG_LEVEL = "debug"
|
|
production.LOG_LEVEL = "warn"
|
|
|
|
[hot]
|
|
restart = true
|
|
reload = true
|
|
|
|
[performance]
|
|
gc = true
|
|
optimize = true |