1.4.1 • Published 5 years ago

generator-browser-node-module v1.4.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

generator-browser-node-module Build Status

Scaffold out a library for both the browser and node

The boilerplate repo is here.

This generator is inspired from sindresorhus/generator-nm.

The scaffolding is similar, it adds support for shipping your code to the browser using Rollup as a bundler.

Here is a great read about the choice of using rollup for libraries.

Install

npm install -g yo
npm install -g generator-browser-node-module

Usage

First make sure you're in your project folder (mkdir my-awesome-project && cd my-awesome-project/), then run

yo browser-node-module

or just

yo

and select Browser Node Module.

1.4.1

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago