Skip to content

Instantly share code, notes, and snippets.

@lexyblazy
Created October 22, 2019 12:47
Show Gist options
  • Save lexyblazy/1290dd1b2aba9c83c00b90d714cfca4e to your computer and use it in GitHub Desktop.
Save lexyblazy/1290dd1b2aba9c83c00b90d714cfca4e to your computer and use it in GitHub Desktop.
script section package.json
{
"name": "functions",
"scripts": {
"lint": "tslint --project tsconfig.json",
"build": "tsc",
"serve": "npm run build && firebase serve --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
},
"engines": {
"node": "8"
},
"main": "lib/index.js",
"dependencies": {
"firebase-admin": "^8.6.1",
"firebase-functions": "^3.3.0"
},
"devDependencies": {
"tslint": "^5.12.0",
"typescript": "^3.2.2"
},
"private": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment