{"name":"bundle-dependencies","description":"Bundles (deep) all module dependencies into a monolithic NPM package.","version":"0.0.18","main":"./dist/index.js","bin":{"bundle-dependencies":"./dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/gajus/bundle-dependencies.git"},"keywords":["npm","bundle","dependencies"],"author":{"name":"Gajus Kuizinas","email":"gajus@gajus.com","url":"http://gajus.com"},"license":"BSD-3-Clause","scripts":{"pragmatist":"node ./node_modules/.bin/pragmatist --browser","lint":"npm run pragmatist lint","test":"","build":"npm run pragmatist build","watch":"npm run pragmatist watch","watch-lint":"npm run pragmatist watch-lint","watch-test":"npm run pragmatist watch-test","watch-build":"npm run pragmatist watch-build"},"devDependencies":{"pragmatist":"^2.3.17"},"dependencies":{"fs-extra":"^0.26.3","glob":"^6.0.3","lodash":"^3.10.1","tar":"^2.2.1","tar-fs":"^1.9.0","yargs":"^3.31.0"},"gitHead":"8fd415fb6a8ce686c4609c1616521792f6c10d9e","bugs":{"url":"https://github.com/gajus/bundle-dependencies/issues"},"homepage":"https://github.com/gajus/bundle-dependencies#readme","_id":"bundle-dependencies@0.0.18","_shasum":"8d98d38ae4fbaec365de7986fa67076c10ef3645","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"gajus","email":"gajus@gajus.com"},"dist":{"shasum":"8d98d38ae4fbaec365de7986fa67076c10ef3645","tarball":"http://registry-npm.ywwl.com/bundle-dependencies/download/bundle-dependencies-0.0.18.tgz","integrity":"sha512-1CMDt4OSxLJUndG2xRWjv7sTx9fH/z4EuPA0T7hNRDRVDyE8BaTKSXHh5D4yIrndSkrgIz5kN0e8bSrW2F5SVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbLsvJm1/MDjwlrbAJXhD6lenog7XucH4cGb7JOjcjlAIhANgIQqlwQIy0RWkxKrJOm1reDIWvX18/bvVo344HhT2R"}],"size":7116,"noattachment":false,"key":"/bundle-dependencies/-/bundle-dependencies-0.0.18.tgz"},"maintainers":[{"name":"gajus","email":"gajus@gajus.com"}],"deprecated":"https://github.com/gajus/bundle-dependencies#deprecated","readme":"# bundle-dependencies\n\n[![NPM version](http://img.shields.io/npm/v/bundle-dependencies.svg?style=flat-square)](https://www.npmjs.org/package/bundle-dependencies)\n[![Travis build status](http://img.shields.io/travis/gajus/bundle-dependencies/master.svg?style=flat-square)](https://travis-ci.org/gajus/bundle-dependencies)\n[![js-canonical-style](https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square)](https://github.com/gajus/canonical)\n\nGenerates [`bundledDependencies`](https://docs.npmjs.com/files/package.json#bundleddependencies) `package.json` value using values of the dependencies property. Updates `package.json` definition using the generated `bundledDependencies` value.\n\n## Install\n\n```sh\nnpm install bundle-dependencies\n```\n\nAdd to `package.json`:\n\n```json\n{\n    \"scripts\": {\n        \"bundle-dependencies\": \"bundle-dependencies\"\n    }\n}\n```\n\n## Options\n\n```sh\nbundle-dependencies --help\n```\n\n```\nCommands:\n  list-bundled-dependencies  Lists names of bundled dependencies.\n  update                     Updates package.json bundledDependencies\n                             definition.\n\nOptions:\n  --help  Show help                                                    [boolean]\n```\n\n```sh\nbundle-dependencies update --help\n```\n\n```\nOptions:\n  --help     Show help                                                 [boolean]\n  --exclude  A space-separated list of dependencies not to include in the\n             bundledDependencies definition.               [array] [default: []]\n```\n\n## Usage\n\nTo simply update `bundledDependencies` of the `package.json` in the current working directory, execute the script:\n\n```sh\nnpm run bundle-dependencies update\n```\n\n## Publishing\n\nWhen publishing a package using `bundledDependencies` property, make sure that your `nodu_modules/` directory includes only bundled dependencies, i.e. the module must be install using `npm install --production [list of bundled dependencies]`. Use this script to do it:\n\n```json\n{\n    \"bundle-publish\": \"npm run bundle-dependencies update; git commit -m 'Bundled dependencies.' ./package.json; git push; rm -fr ./node_modules; npm install --production $(bundle-dependencies list-bundled-dependencies); npm dedupe; npm prune; npm publish; npm install;\"\n}\n```\n","publish_time":1451946045844,"_cnpm_publish_time":1451946045844,"dist-tags":{"latest":"1.0.2"}}