- NodeJS: v11.0.0
- NPM: v6.4.1 (included with NodeJS)
- NVM: v0.35.2 (if needs to manage mutiple node versions on your system)
-
Clone this repo using
git clone https://ggit@github.com:huasambo/react-boilerplate-tryout.git
-
Navigate into the local repository :
cd react-boilerplate-tryout
-
Currently version ony supports to node 11.0.0, install
runnvm use 11.0.0
-
Run
npm install
in order to install dependencies.
At this point you can runnpm start
to see the example app athttp://localhost:3000
.
The project inregeated with eslint
, a pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript.
npm run lint
In order to run the tests, use npm run test
. The test will run with coverage and the report accessible via opening the generated coverage/lcov-report/index.html file in your browser.
npm run test
Snapshots can be updated by running tests with the update flag: `npm run test -- -u`.
build the project for deploying
npm run build