Skip to main content
要将 npm 包作为开发依赖添加,请使用 bun add --development。
terminal

这会将包添加到 package.json 中的 devDependencies。

参见 bun install。