es6-starterkit
es6-starterkit copied to clipboard
The future is today!
ES6 Starterkit
The future is today!
Usage
- Fork or clone this repository.
- (Optional) Edit
package.jsonif you intent to publish your package onnpm. npm installto install all the required dependencies fromnpm.- Hack
src/index.jsxandsrc/__tests__/index.jsx. - Lint/test using
gulp. - Don't forget to edit this
README.mdfile.
Also don't forget that to run ES6 code, you need to perform babel transpiling. The recommended way is to use babel/register in node and the babel loader from webpack in the browser.
Features
- Sanely configured
gulpfile.js,package.json,.gitignore,.editorconfig,.eslintrc,.jsbeautifyrc. - Both CommonJS and ES6 modules are supported.
- Linting and testing is pre-configured.
lodash,bluebirdandshouldare included by default.