Skip to content

This is a ReactJS project starter developed with ParcelJS. It contains Eslint and PostCSS integration to improve performing during developement and production.

Notifications You must be signed in to change notification settings

silvestrevivo/react-parcel-starter

Repository files navigation

React-Parcel Starter

This is a code boilerplate built with ParcelJS which it could be used as starter project template for ReactJS Projects. It comes ready to install dependencies for React and ReactDOM. It refreshs automatically and CSS files compile minified with updated autoprefixer following caniuse and using Postcss.

How to use it

Ensure you have ParcelJS blunder globally:

npm install -g parcel-bundler

Download the repository and init the project:

git clone https://github.com/silvestrevivo/react-parcel-starter.git
cd react-parcel-starter
npm install

To work in development mode:

npm start

To send project to production:

npm build

To check ESlint previous commit using lint-staged:

npm precommit

Modules installed

  • Babel, babel-core, babel-eslint, babel-plugin-transform-class-properties, babel-plugin-transform-object-rest-spread, babel-preset-env, babel-preset-react.

  • Eslint, eslint-config-prettier, eslint-config-standard, eslint-config-standard-react, eslint-plugin-import, eslint-plugin-node, eslint-plugin-promise, eslint-plugin-react, eslint-plugin-standard.

  • Node-sass, postcss, autoprefixer, postcss-modules, browserslist.

  • React, ReactDom, redux, react-redux, react-router-dom, prop-types, react-hot-loader, axios.

  • Classnames, Normalize.css

  • Lint-staged, husky.

About

This is a ReactJS project starter developed with ParcelJS. It contains Eslint and PostCSS integration to improve performing during developement and production.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published