This is where we tinker with our approach to React projects.
Note: Depending on how Node is set up on your machine, you may need to prefix the following commands with sudo.
To get this project running…
- Clone this repository.
cdinto the local directory.- Type
npm install. - Type
npm start.
It should then be viewable at…
To run unit tests on the React components…
cdinto the local directory.- Type
npm run test
After the tests run, assuming everything is successful, you can view reports related to JS and CSS here…
- JS —
/coverage/lcov-report/index.html - CSS —
/sass-lint.html
To build the starter app to static files…
cdinto the local directory.- Type
npm start. - Type
npm run build.