nwb
Version:
A toolkit for React, Preact & Inferno apps, React libraries and other npm modules for the web, with no configuration (until you need it)
28 lines (14 loc) • 818 B
Markdown
## Prerequisites
[Node.js](http://nodejs.org/) >= 10 must be installed.
## Installation
- Running `npm install` in the app's root directory will install everything you need for development.
## Development Server
- `npm start` will run the app's development server at [http://localhost:3000](http://localhost:3000), automatically reloading the page on every change.
## 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.