Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaearon/library-boilerplate
An opinionated boilerplate for React libraries including ESLint, Mocha, Babel, Webpack and an example powered by Webpack Dev Server and React Hot Loader
https://github.com/gaearon/library-boilerplate
Last synced: 8 days ago
JSON representation
An opinionated boilerplate for React libraries including ESLint, Mocha, Babel, Webpack and an example powered by Webpack Dev Server and React Hot Loader
- Host: GitHub
- URL: https://github.com/gaearon/library-boilerplate
- Owner: gaearon
- License: mit
- Created: 2015-07-14T17:43:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-28T20:39:47.000Z (almost 9 years ago)
- Last Synced: 2024-10-29T17:28:12.978Z (3 months ago)
- Language: JavaScript
- Size: 143 KB
- Stars: 385
- Watchers: 11
- Forks: 40
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-projects-boilerplates - Library Boilerplate
README
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:
* Set `stage` to `2` in `.babelrc` so you don’t depend on language features that might be gone tomorrow;
* Remove `loose: ["all"]` from `.babelrc` so the behavior is spec-compliant.You have been warned.