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 install in the app's root directory will install everything you need for development.

Development Server

Running Tests

  • npm test will run the tests once.

  • npm run test:coverage will run the tests and produce a coverage report in coverage/.

  • npm run test:watch will run the tests on every change.

Building

  • npm run build creates a production build by default.

    To create a development build, set the NODE_ENV environment variable to development while running this command.

  • npm run clean will delete built resources.