Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nedomas/nemada
https://github.com/nedomas/nemada
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nedomas/nemada
- Owner: Nedomas
- License: mit
- Created: 2016-06-04T10:31:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-05T13:18:16.000Z (over 8 years ago)
- Last Synced: 2024-10-22T07:42:31.881Z (2 months ago)
- Language: JavaScript
- Size: 2.19 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# react-webpack-boilerplate [![Build Status][travis-badge]][travis] [![Coverage Status][coveralls-badge]][coveralls]
> Simple production-ready boilerplate for [React](http://facebook.github.io/react/) and [Webpack](http://webpack.github.io/) (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](https://github.com/srn/srn.io)
## Install
Clone repository and run:
```sh
$ npm install
```Alternatively, you can deploy your own copy with one click using this button:
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/srn/react-webpack-boilerplate)
## Requirements
node 5+
## Development
```sh
$ npm start
```Go to [http://localhost:3001](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`.
```sh
$ NODE_ENV=production npm start
```Also build the production bundle:
```sh
$ npm run dist
```## Tests
```sh
$ npm test
```Only run specific tests
```sh
$ npm test -- NotFoundComponent
```Coverage
```sh
$ npm test -- --coverage
```## License
MIT © [Søren Brokær](http://srn.io)
[travis]: https://travis-ci.org/srn/react-webpack-boilerplate
[travis-badge]: http://img.shields.io/travis/srn/react-webpack-boilerplate.svg?style=flat-square
[coveralls]: https://coveralls.io/r/srn/react-webpack-boilerplate
[coveralls-badge]: http://img.shields.io/coveralls/srn/react-webpack-boilerplate.svg?style=flat-square