{"bin":{"microbundle":"dist/cli.js"},"bugs":{"url":"https://github.com/developit/microbundle/issues"},"dist":{"shasum":"477871395de45d38c1291919537d7fec8298f6fd","tarball":"https://registry.npmjs.org/microbundle/-/microbundle-0.7.0-beta.0.tgz","fileCount":13,"integrity":"sha512-wfktIoFi4xCr/Jd80B+vfVZWPtRUfNUI+UVgKEupOboeu6wUzmk3VZnbgoCkBqXNlZDnHlW9C3G8rYv3LW2Dqg==","signatures":[{"sig":"MEQCIA06hWj47ROUybi6Xxe5z5aye5qd4DlcdgXaQl9NmEzNAiB5Xiuw7AN1WmB5tkenHaEcM+pw3SHRTDYHk6WAEi04sw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz4EyCRA9TVsSAnZWagAAidkQAJlL+DIo7D8quJntlGlb\noF1t5th42uD/bsJQdP+jMOVnSE6FX4zPj1Jabf95M7Osa1BpsRJ9TPxZGc1s\nwIV0GfXoJxTGuofj0MVFenea8Jn24db++m8ApVgNhXuK1gw6/lVtYtzaCgBB\nGW4V/0vlbztnnjsYgZMgrKe/ZJoWG6JLYiHnrk+Eha+v7rkEwgDPg8GvbaHR\niZAatlKCJ5rNCiBEyeH6aKbOumwEgdaIARPrjTSgpvFfSAWxeTiycPrtkoWH\nkHbrgFANfG9YdiEkcvYuhSOPs8ywn8VaXeTgL1YE8JOiaLiZVmLvAD4cTqN1\nBtmk9cGXc4PiLbI2sdWzlpSkH/o57v9U2TA0dIfx6vRTrRtEv3FG+dny2NmS\nMP4cu85Xpuii48Ek2FO1Tin2AIa54p8f2OhSwOJ6xH+1Cm+v67x1tHpy3xc4\n2rlfBIwHMfF4BQn39m1mtzuVHUqOjyyyAZ9FmwCdqZKzx/0Q9yj8zbu5wgyA\nZGM8sRygKXMnF8MirGQPEtxQHt5kUEubsqYOoZSyra5BcQ0awXDB/eSDKR6Z\nmhoKg5mDvW9kXzSuXfk4Mxxg+gKsVSL4x6kG18k4CMEZD0O38JOKTHc4pIk/\nua4Ze5W8Q9HemRF3zf9aihgh6JqbQwqpxe1vlAktTyZV7lxmMCbKvu+6LuxW\n2xqN\r\n=/lfj\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost","testEnvironment":"node"},"main":"dist/microbundle.js","name":"microbundle","babel":{"presets":["env"]},"author":{"url":"http://jasonformat.com","name":"Jason Miller","email":"jason@developit.ca"},"readme":"<p align=\"center\">\n  <img src=\"https://i.imgur.com/LMEgZMh.gif\" width=\"597\" alt=\"microbundle\">\n</p>\n<h1 align=\"center\">\n\tMicrobundle\n\t<a href=\"https://www.npmjs.org/package/microbundle\"><img src=\"https://img.shields.io/npm/v/microbundle.svg?style=flat\" alt=\"npm\"></a> <a href=\"https://travis-ci.org/developit/microbundle\"><img src=\"https://travis-ci.org/developit/microbundle.svg?branch=master\" alt=\"travis\"></a>\n</h1>\n<p align=\"center\">The <strong>zero-configuration</strong> bundler for <em>tiny modules</em>, powered by <a href=\"https://github.com/rollup/rollup\">Rollup</a>.</p>\n\n---\n\n## ✨ Features:\n\n- **One dependency** to bundle your library using only a `package.json`\n- Support for ESnext & async/await _(via [Bublé] & [Nodent])_\n- Produces tiny, optimized code for all inputs\n- Supports multiple entry modules _(`cli.js` + `index.js`, etc)_\n- Creates multiple output formats for each entry _(<abbr title=\"CommonJS (node)\">CJS</abbr>, <abbr title=\"Universal Module Definition\">UMD</abbr> & <abbr title=\"ECMAScript Modules\">ESM</abbr>)_\n- Built-in Terser compression & gzipped bundle size tracking\n\n## 🔧 Installation\n\n`npm i -D microbundle`\n\n... then add the scripts to your `package.json`:\n\n```js\n{\n  \"scripts\": {\n    \"build\": \"microbundle\",\n    \"dev\": \"microbundle watch\"\n  }\n}\n```\n\n## 📦 Usage\n\nMicrobundle includes two commands - `build` (the default) and `watch`. Neither require any options, but you can tailor things to suit your needs a bit if you like.\n\n### `microbundle` / `microbundle build`\n\nBy default, microbundle will infer the location of your source entry file\n(the root module in your program) from the `source` field in your `package.json`. It will infer the output directory and filename(s) from the `main` field. For UMD builds, microbundle will use a snake case version of the `name` field in your `package.json` for the export name; you can also specify a name via an `amdName` field or the `name` CLI option.\n\n### `microbundle watch`\n\nJust like `microbundle build`, but watches your source files and rebuilds on any change.\n\n### All CLI Options\n\n```\n  Usage\n    $ microbundle <command> [options]\n\n  Available Commands\n    build    Build once and exit\n    watch    Rebuilds on any change\n\n  For more info, run any command with the `--help` flag\n    $ microbundle build --help\n    $ microbundle watch --help\n\n  Options\n    -v, --version    Displays current version\n    -i, --entry      Entry module(s)\n    -o, --output     Directory to place build files into\n    -f, --format     Only build specified formats  (default es,cjs,umd)\n    -w, --watch      Rebuilds on any change  (default false)\n    --target         Specify your target environment  (default node)\n    --external       Specify external dependencies, or 'none'\n    --globals        Specify globals dependencies, or 'none'\n    --compress       Compress output using Terser  (default true)\n    --strict         Enforce undefined global context and add \"use strict\"\n    --name           Specify name exposed in UMD builds\n    --cwd            Use an alternative working directory  (default .)\n    --sourcemap      Generate source map  (default true)\n    -h, --help       Displays this message\n    --jsx            A custom JSX pragma like React.createElement (default: h)\n```\n\n### Specifying builds in `package.json`\n\nYou can specify output builds in a `package.json` as follows:\n\n```\n\"main\": \"dist/foo.js\",          // CJS bundle\n\"umd:main\": \"dist/foo.umd.js\",  // UMD bundle\n\"module\": \"dist/foo.mjs\",      // ES Modules bundle\n\"source\": \"src/foo.js\",         // custom entry module (same as 1st arg to microbundle)\n```\n\n## 🛣 Roadmap\n\nHere's what's coming up for Microbundle:\n\n- [ ] [Multiple separate inputs->outputs](https://github.com/developit/microbundle/issues/50)\n- [x] [TypeScript support](https://github.com/developit/microbundle/issues/5)\n- [x] [Flowtype support](https://github.com/developit/microbundle/issues/5#issuecomment-351075881)\n\n## 🔨 Built with Microbundle\n\n- [Stockroom](https://github.com/developit/stockroom) Offload your store management to a worker easily.\n- [Microenvi](https://github.com/fwilkerson/microenvi) Bundle, serve, and hot reload with one command.\n- [react-recomponent](https://github.com/philipp-spiess/react-recomponent) Reason-style reducer components for React using ES6 classes.\n- [brazilian-utils](https://github.com/brazilian-utils/brazilian-utils) Utils library for specific Brazilian businesses.\n\n## 🥂 License\n\n[MIT](https://oss.ninja/mit/developit/)\n\n[rollup]: https://github.com/rollup/rollup\n[bublé]: https://github.com/Rich-Harris/buble\n[nodent]: https://github.com/MatAtBread/nodent-compiler\n","source":"src/index.js","gitHead":"0353a88d8aa706e829bd9fe47c49ebb4f10829b7","license":"MIT","scripts":{"lint":"eslint src","test":"npm run -s lint && npm run -s build && jest","build":"npm run -s build:babel && npm run -s build:self","prepare":"npm run -s build","release":"npm run -s prepare && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","precommit":"lint-staged","build:self":"node dist/cli.js --format cjs src/{cli,index}.js","build:babel":"babel-node src/cli.js --format cjs src/{cli,index}.js --presets env","prepare:babel":"babel --presets env src/*.js -d dist && npm t"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"homepage":"https://github.com/developit/microbundle#readme","keywords":["bundle","rollup","micro library"],"prettier":{"useTabs":true,"singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+https://github.com/developit/microbundle.git","type":"git"},"_npmVersion":"6.4.1","description":"Zero-configuration bundler for tiny JS libs, powered by Rollup.","directories":{},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_nodeVersion":"10.9.0","dependencies":{"sade":"^1.4.0","chalk":"^2.4.0","tslib":"^1.9.0","rollup":"^0.63.0","asyncro":"^3.0.0","cssnano":"^4.0.0","acorn-jsx":"^4.1.1","camelcase":"^5.0.0","gzip-size":"^5.0.0","tiny-glob":"^0.2.0","typescript":">=2.8.3","brotli-size":"^0.0.3","autoprefixer":"^9.0.0","pretty-bytes":"^5.1.0","es6-promisify":"^6.0.0","babel-polyfill":"^6.26.0","rollup-plugin-es3":"^1.1.0","rollup-plugin-flow":"^1.1.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-sizes":"^0.4.2","rollup-plugin-nodent":"^0.2.2","rollup-plugin-terser":"^1.0.1","rollup-plugin-postcss":"^1.6.1","rollup-plugin-commonjs":"^9.0.0","rollup-plugin-bundle-size":"^1.0.1","rollup-plugin-typescript2":"^0.13.0","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-strict-alias":"^1.0.0","rollup-plugin-preserve-shebang":"^0.1.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^22.4.3","husky":"^0.14.3","eslint":"^5.0.0","rimraf":"^2.6.2","fs-extra":"^7.0.0","prettier":"^1.13.0","babel-cli":"^6.26.0","strip-ansi":"^4.0.0","lint-staged":"^7.1.0","shell-quote":"^1.6.1","directory-tree":"^2.1.0","babel-preset-env":"^1.6.1","eslint-config-prettier":"^3.0.0","eslint-plugin-prettier":"^2.6.0","eslint-config-developit":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/microbundle_0.7.0-beta.0_1540325682146_0.27557854813282545","host":"s3://npm-registry-packages"},"_id":"microbundle@0.7.0-beta.0","version":"0.7.0-beta.0"}