📜  后端脚本 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:01.037000             🧑  作者: Mango

代码示例1
"scripts": {
  "build": "rimraf dist && tsc",
  "preserve": "npm run build",
  "serve": "cross-env NODE_ENV=development concurrently \"tsc --watch\" \"nodemon -q dist/index.js\"",
  "prestart": "npm run build",
  "start": "cross-env NODE_ENV=production node dist/index.js",
  "test": "echo \"Error: no test specified\" && exit 1"
},