1.0.0 • Published 7 years ago

riourbana911 v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

react-npm-es6-boilerplate

A boilerplate for creating react npm packages.

  • Publish to npm with minimal setup.
  • Create examples using es6, jsx, and sass.
  • Develop with webpack + hot module reloading.
  • Build your examples (ready for production).

Installation

$ git clone https://github.com/robertgonzales/react-npm-es6-boilerplate.git app-name
$ cd app-name
$ npm install

White label it

  • Update name, description, author, repository in package.json
  • Update app title in src/index.html

Develop

Build

  • Build once (ready for Production)
    • $ npm run build
    • Open build/index.html through the local webserver

Publish

  • Transpile src files into ES5 in dist folder:
    • $ npm run prepublish
    • or just $ npm publish

Notes