Git Product home page Git Product logo

silvestrevivo / webpack4-starter Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 391 KB

React starter boilerplate built with WebPack4. It contains some improvements respect the previous version, as weel as optimalizations got from the Parcel Starter respository.

License: MIT License

HTML 15.78% JavaScript 76.77% CSS 7.45%
webpack4 webpack4starter webpack4boilerplate reactjs redux enzime jest classnames babel hot-reload

webpack4-starter's Introduction

Webpack4 Starter

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 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

webpack4-starter's People

Contributors

silvestrevivo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.