# react-webpack-starer

> This is the best, basic, batteries included webpack, babel, react, scss, starter repo available.

Latest version **1.0.0** (published 2017-04-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-webpack-starer
pnpm add react-webpack-starer
yarn add react-webpack-starer
bun add react-webpack-starer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-04-29 |
| First published | 2017-04-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | oscar |
| Maintainers | oscarmorrison |

## Links

- npm: https://www.npmjs.com/package/react-webpack-starer
- npm.io page: https://npm.io/package/react-webpack-starer

## Dependencies (8)

- [react](https://npm.io/package/react.md) ^15.4.1
- [webpack](https://npm.io/package/webpack.md) ^1.13.3
- [react-dom](https://npm.io/package/react-dom.md) ^15.4.1
- [babel-core](https://npm.io/package/babel-core.md) ^6.18.2
- [babel-loader](https://npm.io/package/babel-loader.md) ^6.2.8
- [webpack-merge](https://npm.io/package/webpack-merge.md) ^4.1.0
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) ^6.16.0
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.18.0

## Recent versions

- 1.0.0 (latest) — 2017-04-29

## README

# react-webpack-starter
This is the best, basic, batteries included webpack, babel, react, scss,
starter repo available.

## file structure
```
*
|---.gitignore
|---LICENSE
|---README.md
|---package.json
|---webpack.config.js
|---yarn.lock
|---src
    |---js
        |---index.js
    |---html
        |---index.html
    |---style
        |---index.scss
```

## webpack setup
webpack has a basic setup, with autoprefixer, webpack copy plugin,
and separate webpack prod and dev config.

### babel
presets: `es2015`, `react`

### loaders
`style-loader`, `css-loader`, `postcss-loader`, `sass-loader`,
`file-loader`

### yarn 
this starter uses `yarn` by default, it includes the following yarn scripts:  
`watch`: ./node_modules/.bin/webpack -d --watch  
`dev`: ./node_modules/.bin/webpack-dev-server -d --hot --inline --progress --colors  
`build`: NODE_ENV=production ./node_modules/.bin/webpack -p  

## how to use
You can [download](https://github.com/oscarmorrison/react-webpack-starter/archive/master.zip) the repo from here, and update the `package.json`, or alternative clone the repo:  
`git clone git@github.com:oscarmorrison/react-webpack-starter.git [new-project-name]`  
then delete the .git dir, or change the repository url

---
_Source: https://npm.io/package/react-webpack-starer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
