replat
v0.0.2-key
Published
Boilerplate for Redux/React project
Downloads
6
Maintainers
Readme
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 analysisyarn start
- start dev server with HMR and DevToolsyarn start:prod
- start prod server and generate dist filesyarn lint
- lint js and scss code with eslint and stylelint