Skip to content

Commit 72ea94a

Browse files
authored
Merge pull request #203 from rvsia/fix-package-json-next-deploz
Fix package json next deploy
2 parents 86105be + 977c6c1 commit 72ea94a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-renderer-demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "4.0.1",
44
"description": "Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects.",
55
"engines": {
6-
"node": ">=8"
6+
"node": "10"
77
},
88
"scripts": {
99
"dev": "next \"src/app/\"",
1010
"preserve": "npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps && npm run install-deps",
1111
"serve": "cross-env NODE_ENV=production firebase serve",
1212
"predeploy": "npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps",
13-
"deploy": "firebase deploy",
13+
"deploy": "NODE_ENV=production firebase deploy",
1414
"clean": "rimraf \"dist/functions/**\" && rimraf \"dist/public\"",
1515
"build-public": "cpx \"src/public/**/*.*\" \"dist/public\" -C",
1616
"build-funcs": "babel \"src/functions\" --out-dir \"dist/functions\"",

packages/react-renderer-demo/src/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@
7272
"react-router-dom": "^5.0.1"
7373
},
7474
"engines": {
75-
"node": ">=8"
75+
"node": "10"
7676
}
7777
}

0 commit comments

Comments
 (0)