An open API service indexing awesome lists of open source software.

https://github.com/harryhope/reactor

☢️ Just another react boilerplate
https://github.com/harryhope/reactor

boilerplate react styled-components webpack

Last synced: 3 months ago
JSON representation

☢️ Just another react boilerplate

Awesome Lists containing this project

README

          

# ☢️ reactor
Just another react boilerplate.

**Includes:**
- :rocket: Webpack 4.x
- :u7a7a: Babel with ES Stage-2 Features
- :fireworks: ESLint using Standard JS
- :volcano: Jest and Enzyme for tests
- :nail_care: Styled Components
- :earth_americas: React Router 4.x

## Getting Started
Clone the repository and make sure you have `node` installed.

Run `npm i` to install dependencies.

To run a development server with hot module reloading type:
```
npm run dev
```

To build and minify a production-ready version:
```
npm run build
```

## Testing
To run all lints and tests against the codebase, run:
```
npm test
```

ESLint can automatically fix certain linting issues with the command:
```
npm run lint:fix
```

If for some reason you need to only run jest tests, use:
```
npm run test:jest
```

## Profiling
For a visualization of the projects dependencies and their size (both uncompressed and gzipped), you can run:
```
npm run profile
```
This is a good way to understand the impact libraries have on file size and load time.