{"_id":"rollup-external-modules","_rev":"2-42fd79d2f571edcf81c3e66cd6408061","name":"rollup-external-modules","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"rollup-external-modules","version":"1.0.0","description":"Don't bundle external modules","keywords":[],"main":"dist/rollup-external-modules.umd.js","module":"dist/rollup-external-modules.es5.js","typings":"dist/types/rollup-external-modules.d.ts","author":{"name":"Richard Samuelsson","email":"richard.samuelsson@redeye.se"},"repository":{"type":"git","url":"git+https://github.com/ricsam/rollup-external-modules.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache","deploy-docs":"ts-node tools/gh-pages-publish","report-coverage":"cat ./coverage/lcov.info | coveralls","commit":"git-cz","semantic-release":"semantic-release","semantic-release-prepare":"ts-node tools/semantic-release-prepare","precommit":"lint-staged","travis-deploy-once":"travis-deploy-once"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","git add"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"prettier":{"semi":false,"singleQuote":true},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","@types/jest":"^23.3.2","@types/node":"^10.11.0","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","husky":"^1.0.1","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"^1.14.3","prompt":"^1.0.0","replace-in-file":"^3.4.2","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","semantic-release":"^15.13.3","shelljs":"^0.8.3","travis-deploy-once":"^5.0.9","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typedoc":"^0.12.0","typescript":"^3.0.3"},"gitHead":"2585344e85d8534f184d86c3ce3954023c445512","bugs":{"url":"https://github.com/ricsam/rollup-external-modules/issues"},"homepage":"https://github.com/ricsam/rollup-external-modules#readme","_id":"rollup-external-modules@1.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"ricsam","email":"noobtoothfairy@gmail.com"},"dist":{"integrity":"sha512-pP85yUqyIgAEGh6EohLFQoZjDXNVXa6LhbQWz/M1fGGRn43wnOdevze/XUcsXIkrooPaDoZKgX/CSS1V/EbKGg==","shasum":"122deb58f7bf3d8c954bd8aa3dfcafa7f816383e","tarball":"https://registry.npmjs.org/rollup-external-modules/-/rollup-external-modules-1.0.0.tgz","fileCount":10,"unpackedSize":23455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVFghCRA9TVsSAnZWagAAwFUP/0M3b8YITv8HmjqiVjL2\n97aeywJe7cPj9DD2A6fytUFlMXbhaZvneNZcoSEX9wf402J+9eL5Aj2VagUK\nOXXoR10FUxWtMfX9UntbjXXWaheVDtQDuQSYDAOdQbQr0Cq2mgmYh/34a80F\njUzie4m4OBa2U+bmKIqmHC6ulLeEn5BI8FLiXgrJPzw3C2ORdjP0L6T5LLxt\nRLuHZHonKtKjzGgLtPZQb78Qg97lHmVisM7Etq2UYP8RbEiO+KAWGuIHjfyA\ndY6zkpH2MEJNfHeTovgnWJDx3U6sP1MGpJaB0ZhYoj5Fn3QTd0Tpqnr1rTm6\nEgSL+gxgTygHl9v6ynupxX0mISiILA3jOouRzliFnv2D64v0aaVQwjl3ZUZs\nGYJsj9Hx2ud3hzVntpyreeZsuwupaCaf+qZEuje0bDQo08BDc8k7vJUx5BKi\nXT1azQyUAO6fMl5NDDYHWP4mq4LcCi/4lcBoSly+ZyYIMQEAhm97L0IyURzH\nh7urCwWLfTmiVDL4y43f7+msLhnhRuj7coR/TqcOgugwNisS2nS9d39+4hCi\nf10Q4xfY114kz5X7TnGOmFtsSrOYD51Uho7jGyNG51eH3CkMKCkvQ6zD0Fk5\n4Oi0O7zbsfsm4lhChPCvcAk1XIIyfezbZxIK9jSqLUg1ISUZb29U6m4KUIRN\nIOdJ\r\n=MeL7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2JLQPV0CSEG1BEPAT4BEO014HrN3FG5aZ7hyOUHMO0AiAwWDJzUXcNMmklyo1QmTUdtcc+dmYs3kC1pYM8Ri+g8g=="}]},"maintainers":[{"name":"ricsam","email":"noobtoothfairy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-external-modules_1.0.0_1549031456951_0.8997158903865234"},"_hasShrinkwrap":false},"2.0.0":{"name":"rollup-external-modules","version":"2.0.0","description":"Mark all modules located in node_modules as external","keywords":["rollup","externals"],"main":"dist/rollup-external-modules.umd.js","module":"dist/rollup-external-modules.es5.js","typings":"dist/types/rollup-external-modules.d.ts","author":{"name":"Richard Samuelsson","email":"richie@screed.app"},"repository":{"type":"git","url":"git+https://github.com/ricsam/rollup-external-modules.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache","deploy-docs":"ts-node tools/gh-pages-publish","report-coverage":"cat ./coverage/lcov.info | coveralls","commit":"git-cz","semantic-release":"semantic-release","semantic-release-prepare":"ts-node tools/semantic-release-prepare","precommit":"lint-staged","travis-deploy-once":"travis-deploy-once"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","git add"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"prettier":{"semi":false,"singleQuote":true},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","@types/jest":"^23.3.2","@types/node":"^10.11.0","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","husky":"^1.0.1","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"^1.14.3","prompt":"^1.0.0","replace-in-file":"^3.4.2","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","semantic-release":"^15.13.3","shelljs":"^0.8.3","travis-deploy-once":"^5.0.9","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typedoc":"^0.12.0","typescript":"^3.0.3"},"gitHead":"93c09f63488e0a7854adc64149ab9bf4c1049c04","bugs":{"url":"https://github.com/ricsam/rollup-external-modules/issues"},"homepage":"https://github.com/ricsam/rollup-external-modules#readme","_id":"rollup-external-modules@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"ricsam","email":"noobtoothfairy@gmail.com"},"dist":{"integrity":"sha512-Kq2S8FC9uQ8CGSJVhklqxBpVXtiqccqUQSMLg+EQa8cE5wLEocQSReNWRDUOV1d6FUdQNY2aWZt3AhPgBc5sdg==","shasum":"b6a83e61fe483462260c4134f7d201906d47737c","tarball":"https://registry.npmjs.org/rollup-external-modules/-/rollup-external-modules-2.0.0.tgz","fileCount":10,"unpackedSize":11582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVGEgCRA9TVsSAnZWagAAMV4P/A1XjU5nADL/xALR7JWT\n9vTh4P5xy+NWRWsD0+t02wOHybnLpXdIoYaRBc390MEsRtlve7jNDFqIpVgI\nJoPPPm30gtTMeg/HoSgMDddgoVbLNodwFwILkwH+dSSfgvByoPPle6e9xQ8I\nXjgG6hagGTZ/Cv9juMH53z+VupAxOdwZu7TTAHKdWvhD68aHolXPfgcAZazc\nvTGQZBZpJyD5txhBtuLkHX4wyrV+9U6baeu36OxxTJ3eHBbQWrrSnTin06bp\nP5/uoJanzvBKJlqy6C6iI45lXTiouXHew8VNJme3Z2jsdriUpkH/JQt6PJpL\nSHd49Jo0qjCPRLGLTvXLM/vaGywjzO3I4RF/veXu/T6mE7YDaSor3QwY2u/n\nIePEW1rl/Jlc0A29a3K47OGgHF+YMeKIva92gililMx0CCR4ubjool2DnwdZ\nqZLjbZ2kkLdveIYZcQBXxf1oc7x9jif2IMNmoZy6godeoZSwk5admw8JbZT3\nF6iwVOne9Fqhr4f+GS0JOU6uYJY/MJyXn8l0/yey0rydONrS+jBrRlmH1rMk\neuR9N4q05zktaJykl8kNwvJfuGIKhA8CVEckeh5TKtWNr8ZYSQbLk9XKzf//\n3jzR35i81IqpEE23rjhkNzCc7rWJ3RCo6QTGdCDEZg2yyxlRIb1lw1nAfsZs\n3/EP\r\n=efhQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIbL32GbP2J4gEBSoTTgB/vg303sXXg81yXKQ98bGZYgIhAPHcJHWA+6WY/Gs4Yd6sokVVgNfwdDin4nOymCXfaNDn"}]},"maintainers":[{"name":"ricsam","email":"noobtoothfairy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-external-modules_2.0.0_1549033760132_0.6339609301612705"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-01T14:30:56.950Z","1.0.0":"2019-02-01T14:30:57.046Z","modified":"2022-05-16T04:12:49.589Z","2.0.0":"2019-02-01T15:09:20.264Z"},"maintainers":[{"name":"ricsam","email":"noobtoothfairy@gmail.com"}],"description":"Mark all modules located in node_modules as external","homepage":"https://github.com/ricsam/rollup-external-modules#readme","keywords":["rollup","externals"],"repository":{"type":"git","url":"git+https://github.com/ricsam/rollup-external-modules.git"},"author":{"name":"Richard Samuelsson","email":"richie@screed.app"},"bugs":{"url":"https://github.com/ricsam/rollup-external-modules/issues"},"license":"MIT","readme":"# rollup-external-modules\n\n![NPM version](https://img.shields.io/npm/v/rollup-external-modules.svg?style=flat)\n[![Build Status](https://travis-ci.org/ricsam/rollup-external-modules.svg?branch=master)](https://travis-ci.org/ricsam/rollup-external-modules)\n[![Coverage Status](https://coveralls.io/repos/github/ricsam/rollup-external-modules/badge.svg?branch=master)](https://coveralls.io/github/ricsam/rollup-external-modules?branch=master)\n\nMark all modules located in node_modules as external.\n\n### Installation\n\n```bash\nnpm install --save-dev rollup-external-modules\n# or \nyarn add -D rollup-external-modules\n```\n\n### Usage\n\n```js\n// rollup.config.js\nimport rollupExternalModules from 'rollup-external-modules';\n\nexport default {\n  input: 'entry.js',\n  output: {\n    file: 'dist/index.js',\n    format: 'cjs',\n  },\n  external: rollupExternalModules,\n};\n```\n\n### NPM scripts\n\n - `npm t`: Run test suite\n - `npm start`: Run `npm run build` in watch mode\n - `npm run test:watch`: Run test suite in [interactive watch mode](http://facebook.github.io/jest/docs/cli.html#watch)\n - `npm run test:prod`: Run linting and generate coverage\n - `npm run build`: Generate bundles and typings, create docs\n - `npm run lint`: Lints code\n - `npm run commit`: Commit using conventional commit style ([husky](https://github.com/typicode/husky) will tell you to use it if you haven't :wink:)\n\n\n### Automatic releases\n\n_**Prerequisites**: you need to create/login accounts and add your project to:_\n - [npm](https://www.npmjs.com/)\n - [Travis CI](https://travis-ci.org)\n - [Coveralls](https://coveralls.io)\n\n_**Prerequisite for Windows**: Semantic-release uses\n**[node-gyp](https://github.com/nodejs/node-gyp)** so you will need to\ninstall\n[Microsoft's windows-build-tools](https://github.com/felixrieseberg/windows-build-tools)\nusing this command:_\n\n```bash\nnpm install --global --production windows-build-tools\n```\n\n#### Setup steps\n\nFollow the console instructions to install semantic release and run it (answer NO to \"Do you want a `.travis.yml` file with semantic-release setup?\").\n\n_Note: make sure you've setup `repository.url` in your `package.json` file_\n\n```bash\nnpm install -g semantic-release-cli\nsemantic-release-cli setup\n# IMPORTANT!! Answer NO to \"Do you want a `.travis.yml` file with semantic-release setup?\" question. It is already prepared for you :P\n```\n\nFrom now on, you'll need to use `npm run commit`, which is a convenient way to create conventional commits.\n\nAutomatic releases are possible thanks to [semantic release](https://github.com/semantic-release/semantic-release), which publishes your code automatically on [github](https://github.com/) and [npm](https://www.npmjs.com/), plus generates automatically a changelog. This setup is highly influenced by [Kent C. Dodds course on egghead.io](https://egghead.io/courses/how-to-write-an-open-source-javascript-library)\n\n","readmeFilename":"README.md"}