https://github.com/silvestrevivo/webpack4-starter
React starter boilerplate built with WebPack4. It contains some improvements respect the previous version, as weel as optimalizations got from the Parcel Starter respository.
https://github.com/silvestrevivo/webpack4-starter
babel classnames enzime eslint hot-reload html javascript jest postcss prettier prettier-eslint reactjs redux sass scss webpack4 webpack4boilerplate webpack4starter yarn
Last synced: 3 months ago
JSON representation
React starter boilerplate built with WebPack4. It contains some improvements respect the previous version, as weel as optimalizations got from the Parcel Starter respository.
- Host: GitHub
- URL: https://github.com/silvestrevivo/webpack4-starter
- Owner: silvestrevivo
- License: mit
- Created: 2018-06-29T13:06:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-06T21:17:18.000Z (almost 8 years ago)
- Last Synced: 2025-01-25T14:23:14.279Z (over 1 year ago)
- Topics: babel, classnames, enzime, eslint, hot-reload, html, javascript, jest, postcss, prettier, prettier-eslint, reactjs, redux, sass, scss, webpack4, webpack4boilerplate, webpack4starter, yarn
- Language: JavaScript
- Size: 382 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a code boilerplate built with WebPack4 which it could be used as starter project template for React Projects. It
contains Babel to compile _ES6_ to _ES5_ as well as _CSS_ and _SASS_ loaders. It comes ready to
install dependencies for _React_ and _ReactDOM_. It refreshs automatically through the scripts from
the package.json file and the _HotModuleReplacementPlugin_. CSS files come with autoprefixer updated following
[caniuse][1] and using _Postcss_.
## How to use it
This template is based on _npm package_ with **yarn**, thus to run it, download the repository in your local computer
and then in the folder of your project:
$ yarn
$ yarn dev
For production:
$ yarn run build
## Modules installed
* Babel, babel-core, babel-loader, babel-preset-env, babel-preset-react, babel-plugin-transform-class-properties, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-stage-1
* Clean-webpack-plugin, cross-env
* Style-loader, css-loader, sass-loader, node-sass, extract-text-webpack-plugin
* Normalize.css, file-loader, Extract-text-webpack-plugin, rimraf
* Postcss-loader, autoprefixer, browserslist.
* Extract-text-webpack-plugin.
* Webpack, webpack-cli, webpack-dev-server.
* React, ReactDom, react-hot-loader, react-router-dom, classnames, prop-types, redux, react-redux, axios
[1]: http://caniuse.com/