Skip to content

huasambo/react-boilerplate-tryout

Repository files navigation

Environment Requirements

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

Project Setup

  1. Clone this repo using

    git clone https://ggit@github.com:huasambo/react-boilerplate-tryout.git

  2. Navigate into the local repository : cd react-boilerplate-tryout

  3. Currently version ony supports to node 11.0.0, install
    run nvm use 11.0.0

  4. Run npm install in order to install dependencies.
    At this point you can run npm start to see the example app at http://localhost:3000.

Run eslint

The project inregeated with eslint, a pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript.

npm run lint

Testing

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

Updating Snapshots

Snapshots can be updated by running tests with the update flag: `npm run test -- -u`.

Build project

build the project for deploying

npm run build

About

'fork' and modified from react-boilerplate https://www.reactboilerplate.com

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published