{"id":26816,"library":"bup","title":"bup","description":"bup is a build tool that provides automated rollup bundling based on a project's Babel configuration. It reads the `main` field from `package.json` and compiles it into multiple formats (e.g., CJS, ESM, UMD) in a `dist/` directory. Current stable version is 5.0.1, released in 2019 with no active development. Similar to microbundle or rollup-starter-lib but with less configuration.","status":"maintenance","version":"5.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/ramitos/bup","tags":["javascript","babel","rollup","config","babelrc","lib"],"install":[{"cmd":"npm install bup","lang":"bash","label":"npm"},{"cmd":"yarn add bup","lang":"bash","label":"yarn"},{"cmd":"pnpm add bup","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"bundles code using babel for transpilation","package":"@rollup/plugin-babel","optional":false},{"reason":"bundling engine","package":"rollup","optional":false}],"imports":[{"note":"CLI only, no programmatic API","wrong":"","symbol":"bup","correct":"npx bup"}],"quickstart":{"code":"mkdir my-lib && cd my-lib\nnpm init -y\nnpm install --save-dev bup\nmkdir src\necho \"export default () => 'hello'\" > src/index.js\n# ensure package.json has \"main\": \"src/index.js\"\nnpx bup\n# output: dist/my-lib.cjs.js, dist/my-lib.esm.js","lang":"javascript","description":"Demonstrates minimal setup for bup: create a simple library and build it."},"warnings":[{"fix":"npm install --save-dev @rollup/plugin-babel","message":"bup 5.x requires @rollup/plugin-babel as a peer dependency","severity":"gotcha","affected_versions":">=5.0"},{"fix":"Ensure package.json has a valid 'name' field","message":"bup's output is based on filename, using the 'name' field from package.json","severity":"gotcha","affected_versions":"*"},{"fix":"Migrate to a maintained tool","message":"No updates since 2019, consider using rollup-starter-lib","severity":"deprecated","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}