browserify-all-dependencies

0.0.2 • Public • Published

browserify-all-dependencies

Run browserify --standalone for every lib in a package.json dependencies object and generate an index.html file with <script> links to each one.

Usage

// In an existing project:
npm install browserify-all-dependencies
./node_modules/.bin/badeps

Configuration

An badepAliases object in package.json may be added to change the export name that Browserify will use for the library. Otherwise the name of the library will be used verbatim.

For example:

  "badepAliases"{
    "rx": "Rx4",
    "rx-dom": "Rx4",
    "rxjs": "Rx5",
    "ramda": "R",
    "partial.lenses": "L",
    "lodash": "_"
  }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i browserify-all-dependencies

Weekly Downloads

2

Version

0.0.2

License

Apache-2.0

Last publish

Collaborators

  • whiteinge