Skip to content
This repository has been archived by the owner. It is now read-only.

srn/react-webpack-boilerplate

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

react-webpack-boilerplate Build Status Coverage Status

Simple production-ready boilerplate for React and Webpack (SASS and React hot reloading) and tests with Jest.

Note: if you want React server-side rendering support, take a look at my personal site repo based on this: github.com/srn/srn.io

Install

Clone repository and run:

$ npm install

Alternatively, you can deploy your own copy with one click using this button:

Deploy

Requirements

node 5+

Development

$ npm start

Go to http://localhost:3001 and see the magic happen.

Production

If you want to run the project in production, set the NODE_ENV environment variable to production.

$ NODE_ENV=production npm start

Also build the production bundle:

$ npm run dist

Tests

$ npm test

Only run specific tests

$ npm test -- NotFoundComponent

Coverage

$ npm test -- --coverage

License

MIT © Søren Brokær

About

Simple production ready boilerplate for React, Webpack (using Babel 6, SASS and React hot reloading), tests (using Jest) and coverage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published