package.json 651 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1 2 3 4
{
  "name": "functions",
  "description": "Cloud Functions for Firebase",
  "scripts": {
陈帅's avatar
陈帅 committed
5
    "serve": "npm run mock && firebase serve --only functions",
陈帅's avatar
陈帅 committed
6 7 8
    "shell": "firebase functions:shell",
    "start": "npm run shell",
    "deploy": "firebase deploy --only functions",
陈帅's avatar
陈帅 committed
9
    "logs": "firebase functions:log",
陈帅's avatar
陈帅 committed
10
    "mock": "node ../scripts/generateMock.js"
陈帅's avatar
陈帅 committed
11 12
  },
  "dependencies": {
陈帅's avatar
陈帅 committed
13
    "@babel/runtime": "^7.0.0",
陈帅's avatar
陈帅 committed
14
    "body-parser": "^1.18.3",
陈帅's avatar
陈帅 committed
15 16
    "express": "^4.16.3",
    "firebase-admin": "^5.12.1",
陈帅's avatar
陈帅 committed
17
    "firebase-functions": "^2.0.5",
陈帅's avatar
陈帅 committed
18
    "mockjs": "^1.0.1-beta3",
陈帅's avatar
陈帅 committed
19
    "moment": "^2.22.2",
陈帅's avatar
陈帅 committed
20
    "path-to-regexp": "^2.2.1"
陈帅's avatar
陈帅 committed
21 22 23
  },
  "private": true
}