Skip to content

3. Run scripts

Nathalie Jonsson edited this page Oct 18, 2018 · 3 revisions

Run scripts for the website (once repo has been downloaded and dependencies installed)

npm start: compiles the React components and starts the server

npm build: only compiles the React components (if any updates have been made)

npm build-watch: watches for changes and recompiles React components

npm test: compiles the React components and runs tests on them once

npm test-watch: compiles the React components and continually runs tests as soon as they are changed

Clone this wiki locally