nwb-thinking-in-react
June 28, 2018 ยท View on GitHub
An implementation of the filterable product table from the Thinking in React tutorial using nwb for development.
Prerequisites
Node.js >= 6 must be installed.
Installation
- Running
npm installin the app's root directory will install everything you need for development.
Development Server
npm startwill run the app's development server at http://localhost:3000 with hot module reloading.
Running Tests
-
npm testwill run the tests once. -
npm run test:coveragewill run the tests and produce a coverage report incoverage/. -
npm run test:watchwill run the tests on every change.
Building
-
npm run buildcreates a production build by default.To create a development build, set the
NODE_ENVenvironment variable todevelopmentwhile running this command. -
npm run cleanwill delete built resources.