Npm Scripts

February 12, 2022 ยท View on GitHub

These are the main npm commands for a normal developer workflow:

npm commanddetails
npm installInstall dependencies
npm startStart a development web server to the basic frontend
npm testRun the unit tests with Karma
npm run test:watchWatch the code and run the unit test
npm run e2eRun the end to end tests with Nigthwatch/Selenium
npm run buildCreate a production build
npm run start:prodstart a web server to serve the production build
npm run lintLint the source code
npm run cpdRun the copy and paste detector
npm run cleanClean the project