npm Scripts

npm scripts are custom shell commands defined in package.json under the scripts section. They help automate tasks.

  • npm start – Commonly used to start servers
  • npm run dev – Often used to run development environments
  • Run custom commands like npm run build or npm test
← PrevNext →