Coder Social home page Coder Social logo

vfreitas- / lib-plate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6 KB

A simple bolierplate for JavaScript libraries including Rollup, Buble(for ES6), ESLint, Mocha, Karma and test code Coverage with Istanbul

License: MIT License

JavaScript 100.00%
bolierplate library es6-boilerplate rollup mocha karma coverage buble

lib-plate's Introduction

Library Bolierplate

A simple bolierplate for JavaScript libraries including Rollup, Buble(for ES6), ESLint, Mocha, Karma and test code Coverage with Istanbul

Table of Contents

Usage

Clone it and change both, package.json and rollup.config.js with the name of your library. Look for {{libraryname}}, {{reponame}} and {{username}} and update them with your info.
Don't forget to update your package.json with your github data as well! And you may use the example readme to detail you library too.

To build your library use the following commands after running npm install:

  • npm start - To build and watch your files for development
  • npm run build && npm run build:minify - To build your files for production
  • npm test - To run your tests once (for Travis or other CI tools)
  • npm run test:w - To run and watch your tests (development)
  • npm run docs - To generate a documentation on the API section of your readme
  • npm run release - To release a npm version of your package (Make sure to change the version on the package.json file first!)

Contribute

All contributions are welcome.

  • Fork the repo on GitHub
  • Clone the project to your own machine
  • Make your changes
  • Commit it to your own branch
  • Push your work back up to your fork
  • Submit a pull request with full remarks documenting your changes

lib-plate's People

Contributors

vfreitas- avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.