package.json 650 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1 2 3 4
{
  "name": "functions",
  "description": "Cloud Functions for Firebase",
  "scripts": {
陈帅's avatar
陈帅 committed
5
    "serve": "firebase serve --only functions",
陈帅's avatar
陈帅 committed
6 7
    "shell": "firebase functions:shell",
    "start": "npm run shell",
陈帅's avatar
陈帅 committed
8
    "deploy": "npm run mock && 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 17
    "express": "^4.16.4",
    "firebase-admin": "^6.4.0",
    "firebase-functions": "^2.1.0",
陈帅'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
}