GithubHelp home page GithubHelp logo

mathieumg / library-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaearon/library-boilerplate

1.0 3.0 0.0 11 KB

An opinionated boilerplate for React libraries including ESLint, Mocha, Babel, Webpack and an example powered by Webpack Dev Server and React Hot Loader

License: MIT License

JavaScript 100.00%

library-boilerplate's Introduction

library-boilerplate

An opinionated setup I plan to use for my libraries.

It has CommonJS and UMD builds via Babel and Webpack, ESLint, and Mocha. It also has React-friendly examples folder with library code mapped to the sources.

If you use this, make sure to grep for “library-boilerplate” and replace every occurrence. See package.json in the root and the example folder for the list of the available commands.

Note that this is an opinionated boilerplate. You might want to:

  • Install babel-preset-stage-2 instead of babel-preset-stage-0 so you don’t depend on language features that might be gone tomorrow;
  • Add loose mode in .babelrc by installing babel-preset-es2015-loose.

You have been warned.

library-boilerplate's People

Contributors

gaearon avatar chantastic avatar suevalov avatar mathieumg avatar

Stargazers

Eddyystop avatar

Watchers

James Cloos avatar Eddyystop avatar  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.