An NPM library template using Bun.
All script sources.
Emit .js
and .d.ts
files to lib
.
Move package.json
, README.md
to lib
and publish the package.
Run files that ends with .bench.ts
extension.
All specified scripts in package.json
.
# Build and run tests
bun build:test
# Build and run benchmarks
bun build:bench
# Build and publish the package
bun build:publish
# Lint
bun lint
# Lint and fix if possible
bun lint:fix