Another tiny react starter template
npm start
- Spawns a development servernpm run build
- Creates a production build in thedist
directory
Pass any additional configuration using:
$ npm run <script> -- <additional-configuration>
-
Changing the default port:
$ npm start -- -p 3000
-
Changing the default build directory:
$ npm run build -- -d build/production
MIT © 2019