0.0.1 • Published 5 years ago
kashyyyk-system v0.0.1
kashyyyk-system
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 git@github.com:Journey316/kashyyyk-system.gitapp-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
- Hot reloading via webpack dev server:
$ npm start
- Go to http://localhost:3000/
Build
- Build once (ready for Production)
$ npm run build
- Open
build/index.html
through the local webserver
Publish
- Transpile
src
files into ES5 indist
folder:$ npm run prepublish
- or just
$ npm publish
0.0.1
5 years ago