mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
9319c158a5
Fixes #4691 Fixes #4614 This PR gives path to https://github.com/zeit/next-plugins/pull/242 I did not add or remove `^` near dependency versions in package.json files. However, I don't exclude that some changes can be made given that rc is more stable than beta.
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"name": "with-firebase-hosting",
|
|
"version": "4.0.1",
|
|
"description":
|
|
"Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects.",
|
|
"scripts": {
|
|
"dev": "next \"src/app/\"",
|
|
"preserve":
|
|
"npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps && npm run install-deps",
|
|
"serve": "NODE_ENV=production firebase serve",
|
|
"predeploy":
|
|
"npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps",
|
|
"deploy": "firebase deploy",
|
|
"clean": "rimraf \"dist/functions/**\" && rimraf \"dist/public\"",
|
|
"build-public": "cpx \"src/public/**/*.*\" \"dist/public\" -C",
|
|
"build-funcs": "babel \"src/functions\" --out-dir \"dist/functions\"",
|
|
"build-app": "next build \"src/app/\"",
|
|
"copy-deps":
|
|
"cpx \"*{package.json,package-lock.json,yarn.lock}\" \"dist/functions\" -C",
|
|
"install-deps": "cd \"dist/functions\" && npm i"
|
|
},
|
|
"dependencies": {
|
|
"firebase-admin": "^5.12.1",
|
|
"firebase-functions": "^1.0.2",
|
|
"next": "^6.0.3",
|
|
"react": "^16.3.2",
|
|
"react-dom": "^16.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0-rc.1",
|
|
"cpx": "1.5.0",
|
|
"firebase-tools": "3.18.4",
|
|
"prettier": "1.12.1",
|
|
"rimraf": "2.6.2"
|
|
}
|
|
}
|