snorepack
💤 💤 💤 the boringest javascript pack tool in the alpha quadrant™ 💤 💤 💤
hey folks! jimmy womack here...
are you tired of javascript pack tools that pretend they're doing all sorts of magic
snorepack goes where no build tool has gone before—to a
commands for snoretastic development
git clone git@github.com:jameswomack/snorepack.git && cd snorepack
npm i && npm link # local testing pre-npm publish—npm has banned me from the bldg for building packages like this
snorepack ./example/esm.js --preview-output --snore-duration=10000 # override default 2h snore duration
npm t
npm run lint
previews to dream about
w/ this as an entrypoint
& this as one of its imports
snorepack will start snoring like so
& output the results of the packed project like so
💤 let's go from boring to snoring everyone! 💤
after running these cmds, see .snore/ output for results*
converting a commonjs module
snorepack ./example/cjs.js
converting an esm module
snorepack ./example/esm.js
converting a module & auto-executing the result in node
snorepack ./example/esm.js --preview-output
converting a module w/ the default test snore/spinner duration (i.e. reduced from 2h to 5s)
snorepack ./example/esm.js --snore-duration=test
converting a module w/ a specific other snore/spinner duration
snorepack ./example/esm.js --snore-duration=1000
print required command format
snorepack --help