ashlsun / untitled-inventory-app

a text-based inventory app for your fridge
https://ashlsun.github.io/untitled-inventory-app/
2 stars 0 forks source link

Bun bun bun

More info: Bun Docs

[!TIP] just bun can be used as a shorthand for almost all of its commands.

Install

Install all dependencies

bun i

Install a specific package

bun i <package>

Flags

Development

bun dev

Build

bun run build

Running

Scripts

bun run <script>

Example: bun lint

Binaries

bunx <binary>

bun run also works

Example: bun eslint

[!NOTE] To use the Bun runtime (instead of Node.js), pass --bun to the command: bunx --bun vite dev

Files

bun run <file>

Example: bun src/index.ts

ni

To forget about package managers: antfu/ni