Skip to content

lightweight React.js ES6 boilerplate with JSPM and proper hot reloading modules

License

Notifications You must be signed in to change notification settings

capaj/jspm-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jspm-react DEPRECATED

This repo is deprecated-other bundlers have won the bundler wars-namely webpack or parcel. Use them instead.

js-standard-style

lightweight React.js boilerplate with JSPM and hot reloading modules

master branch has JSPM 0.16, for 0.17 use branch jspm-0.17. JSPM 0.17 is still beta, I would advise against using JSPM 0.17 for production deployments for now.

Quickstart to development

git clone git@github.com:capaj/jspm-react.git
npm i
npm start

npm scripts available:

npm start #starts webserver and watcher, the http port is 9080
npm build #build your bundle, use purely for production
npm test #runs mocha/chai/jsdom tests in node.js

Styles

Make your own style pipeline, this boilerplate doesn't offer one. Me personally, I am fine with inline styles inside my react components most of the time, but that is just me.

Includes

  • githooks via husky for commit trigerring tests and style check
  • MobX for easy/reliable/fast state management powered by ES5 getters/setters
  • react-router
  • simple unit/midway tests with Mocha, Chai and airbnb's enzyme

About

lightweight React.js ES6 boilerplate with JSPM and proper hot reloading modules

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •