Skip to content

Instantly share code, notes, and snippets.

@evdama
Created July 14, 2019 02:19
Show Gist options
  • Select an option

  • Save evdama/9cb9b1bab39ef15161c4a882a747a7fc to your computer and use it in GitHub Desktop.

Select an option

Save evdama/9cb9b1bab39ef15161c4a882a747a7fc to your computer and use it in GitHub Desktop.
sapper, firebase, tailwind, typescript ... functions/package.json
{
"name": "functions",
"scripts": {
"build": "tsc",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log",
"serve": "firebase serve --only functions,hosting",
"shell": "firebase functions:shell",
"start": "npm run shell"
},
"engines": {
"node": "10"
},
"main": "lib/index.js",
"dependencies": {
"compression": "^1.7.4",
"express": "^4.17.1",
"firebase-admin": "^8.2.0",
"firebase-functions": "^3.1.0",
"helmet": "^3.18.0",
"sirv": "^0.4.2"
},
"devDependencies": {
"firebase-functions-test": "^0.1.6",
"typescript": "^3.5.3"
},
"private": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment