mirror of
https://github.com/chillzhuang/Sword
synced 2024-11-22 02:09:26 +08:00
24 lines
650 B
JSON
24 lines
650 B
JSON
{
|
|
"name": "functions",
|
|
"description": "Cloud Functions for Firebase",
|
|
"scripts": {
|
|
"serve": "firebase serve --only functions",
|
|
"shell": "firebase functions:shell",
|
|
"start": "npm run shell",
|
|
"deploy": "npm run mock && firebase deploy --only functions",
|
|
"logs": "firebase functions:log",
|
|
"mock": "node ../scripts/generateMock.js"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.0.0",
|
|
"body-parser": "^1.18.3",
|
|
"express": "^4.16.4",
|
|
"firebase-admin": "^6.4.0",
|
|
"firebase-functions": "^2.1.0",
|
|
"mockjs": "^1.0.1-beta3",
|
|
"moment": "^2.22.2",
|
|
"path-to-regexp": "^3.0.0"
|
|
},
|
|
"private": true
|
|
}
|