@comandeer/rollup-lib-bundler
Simple library bundler
Last updated 3 months ago by comandeer .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @comandeer/rollup-lib-bundler 
SYNC missed versions from official npm registry.

@comandeer/rollup-lib-bundler

Build Status Dependency Status devDependencies Status codecov npm (scoped) Greenkeeper badge

Super opinionated library bundler using Rollup, Babel and babel-minify.

How does it work?

It gets package.json from the current working directory, parses it and get neeeded info:

  • name, author, version and license to create beautiful banner comment,
  • main to get path for saving ES5 bundle,
  • module or jsnext:main for saving ES2015 bundle.

Of course it treats src/index.js as the only entry point for Rollup.

Installation

npm install @comandeer/rollup-lib-bundler --save-dev

Usage

Just make it a npm script:

"scripts": {
	"build": "rlb"
}

Configuration

No configuration. Consider it a feature.

License

See LICENSE file for details.

Current Tags

  • 0.9.0                                ...           latest (3 months ago)

14 Versions

  • 0.9.0                                ...           3 months ago
  • 0.8.0                                ...           8 months ago
  • 0.7.1                                ...           a year ago
  • 0.7.0                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 23
Last Day 0
Last Week 21
Last Month 56
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |