Based on
topcoder-react-starter
.
To install, test, and run in development mode:
$ npm install
$ npm test
# NODE_CONFIG_ENV can be "development" or "production". It has no influence on
# the code build and execution mode, it only sets the runtime configuration
# (Node Config).
$ NODE_CONFIG_ENV=development npm run dev
To install, test, and run in production mode:
$ npm install
$ npm test
$ npm run build
# Again, NODE_CONFIG_ENV can be "development" or "production" here.
$ NODE_CONFIG_ENV=production npm start