📜  npm 运行构建 npm 错误!缺少脚本:firebase 的“构建” - 无论代码示例

📅  最后修改于: 2022-03-11 14:54:59.628000             🧑  作者: Mango

代码示例1
"scripts": {
    "build": "",
    "serve": "firebase serve --only functions",
    "shell": "firebase functions:shell",
    "start": "npm run shell",
    "deploy": "firebase deploy --only functions",
    "logs": "firebase functions:log"
  }