Skip to content

Commit

Permalink
⬆️ Upgrade functions to Node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Apr 22, 2019
1 parent d3ed3bd commit 9f5a930
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js: 8
node_js: 10

before_script:
- yarn global add greenkeeper-lockfile@1
Expand Down
3 changes: 3 additions & 0 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"scripts": {
"build": "tsc && cp service-account.json ./dist",
"deploy": "npm run build && firebase deploy --only functions"
},
"engines": {
"node": ">=10"
}
}
4 changes: 2 additions & 2 deletions functions/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"compilerOptions": {
"outDir": "./dist",
"module": "commonjs",
"target": "es2015",
"lib": ["es6"],
"target": "es2018",
"lib": ["es6", "esnext"],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
Expand Down

0 comments on commit 9f5a930

Please sign in to comment.