/replat

It just boilerplate for React coding, nothing more

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Replat - boilerplate for React/Redux.

It just cleared boilerplate for React, nothing more. It contains some helpful packages that you can use to start writing React/Redux application easely. Boilerplate includes better-npm-script for better enviroment settigs compatibility. Minimum gentelmen toolkit for react/redux (redux, router, devtools). For linting boilerplate use ESlint with airbnb presets and import, react and another plugins. For compiling css use postcss, for linting styleguide.

Setup

For project setup I recomend to use yarn insted of npm. But it's just a recomendation and you can use npm with this project all the same. After cloning repository use command

yarn

or

npm i

for instaling packages.

Cli commands

You can find all expired commands in script section of package.json. All descriptions of command functionallity you can find in our wiki. One used

  • yarn build - build an application, generate statistic and page for analysis
  • yarn start - start dev server with HMR and DevTools
  • yarn start:prod - start prod server and generate dist files
  • yarn lint - lint js and scss code with eslint and stylelint