generator-leaflet-plugin-with-rollup

0.0.1 • Public • Published

generator-leaflet-plugin-with-rollup NPM version Build Status Dependency Status

generator leaflet plugin with rollup

Installation

First, install Yeoman and generator-leaflet-plugin-with-rollup using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-leaflet-plugin-with-rollup

Usage

yo leaflet-plugin-with-rollup

That'll generate a project with all the common tools setup. This includes:

provided by generator-node

  • Filled package.json file
  • jest unit test and code coverage (optionally tracked on Coveralls)
  • ESLint linting and code style checking
  • Travis CI continuous integration (optional)
  • License

provided by this project

  • Parcel develop and distribute examples
  • Rollup distribute your plugin as umd,cjs,ejs module
    with babel,node-sass,postcss,postcss-sprites supported
  • gh-pages release your plugin examples pages to ghpages

Running tests

Once the project is scaffolded, inside the project folder run:

$ npm test

You can also directly use jest to run test on single files:

$ npm -g install jest-cli
$ jest --watch

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

Acknowledgments

generator-leaflet-plugin-with-rollup was inspired by generator-node

License

MIT © bung

Package Sidebar

Install

npm i generator-leaflet-plugin-with-rollup

Weekly Downloads

11

Version

0.0.1

License

MIT

Unpacked Size

15.8 kB

Total Files

10

Last publish

Collaborators

  • bung87