The relationship between npm start and npm run start?

what is the relationship between npm start and npm run start?

if there is a start entry in "scripts" of package.json

executing npm run start and npm start seems to have the same effect

but if it is another command item,

the effect of executing npm run "other commands" is not the same as that of npm "other commands"

solve the problem with the boss


Thank you for inviting
npm start and npm run start are equivalent. In a npm management project, there is generally a default definition of start , and it is often used, so the abbreviation of npm run start is set in the npm execution, similar to npm stop , npm test and so on. Other less general command items can only be executed in the form of npm run < command item > .


npm start = npm run start


https://docs.npmjs.com/cli/ru.


npm start is the abbreviated form of npm run start. The teaching itinerary of Mr. Ruan:

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44e7f-43829.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44e7f-43829.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?