[英]How to run start scripts from package.json?
我在package.json
有两个脚本
"start:dev": "nodemon ./src/index.js",
"start": "npm run build && node ./build/index.js",
npm start
运行良好。 我需要运行"start:dev": "nodemon ./src/index.js"
对于大多数自定义 npm 脚本,您需要在脚本名称之前添加run
npm run start:dev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.