minimal-react-starterkit
v0.1.0
Published
A minimal starter kit for building React apps
Readme
Inspired by essential-react
Features
- Include few tools (No bower, no gulp, etc...).
- Babel 6 with Webpack and Hot Loader using react-transform-hmr.
- No specific implementation of Flux, no data fetching patterns or universal things inside.
- CSS processing with PostCSS.
- Fast testing with mocked-out DOM.
Getting started
npm installRunning development server
npm start # Navigate to localhost:3000 to view the appStart a local dev server and refresh file changes on the fly without reloading the page. Even with CSS.
Deploy to production
npm run buildCompiles your application to dist folder. You can just serve this folder and you are good to go.
Linting
npm run lintLinting using eslint with standard rules and React plugin.
npm run lint:fixFixes common issues (Learn more).
Test
npm run testUses ava as test runner and uses enzyme for testing your React components easier.
License
MIT
