bundled-dependencies

2.1.0 • Public • Published

BundledDependencies

Auto generate your bundledDependencies

Install

npm install bundled-dependencies

Usage

In a directory with a package.json file just type:

bundled-dependencies

Takes a package.json file, looks at the dependencies object and adds each item it to the bundledDependencies array.

To use it I just create a file containing:

require('bundled-dependencies')('./package.json');

I then call that file from my CI, run my tests, assuming the tests pass then run NPM pack and all the dependencies will be included in the generated package file.

Readme

Keywords

Package Sidebar

Install

npm i bundled-dependencies

Weekly Downloads

3,140

Version

2.1.0

License

ISC

Last publish

Collaborators

  • simonmcmanus