2017-07-26 05:52:49 +00:00
|
|
|
{
|
|
|
|
"name": "with-firebase-hosting",
|
2018-02-28 10:54:48 +00:00
|
|
|
"version": "3.0.0",
|
2017-10-05 06:28:46 +00:00
|
|
|
"description":
|
|
|
|
"Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects.",
|
2017-07-26 05:52:49 +00:00
|
|
|
"scripts": {
|
2018-02-28 10:54:48 +00:00
|
|
|
"dev": "next src/app",
|
|
|
|
"serve":
|
|
|
|
"echo \"for details see:\n\thttps://github.com/firebase/firebase-tools/issues/535 \n\thttps://github.com/zeit/next.js/issues/3167\";",
|
2017-07-26 05:52:49 +00:00
|
|
|
"deploy": "firebase deploy",
|
2018-02-28 10:54:48 +00:00
|
|
|
"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\"",
|
|
|
|
"install-deps": "cd \"dist/functions\" && npm i"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"firebase-admin": "5.8.1",
|
|
|
|
"firebase-functions": "^0.8.1",
|
|
|
|
"next": "latest",
|
|
|
|
"react": "^16.2.0",
|
|
|
|
"react-dom": "^16.2.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "^7.0.0-beta.40",
|
|
|
|
"@babel/core": "^7.0.0-beta.40",
|
|
|
|
"@babel/preset-env": "^7.0.0-beta.40",
|
|
|
|
"@firebase/app-types": "^0.1.2",
|
|
|
|
"cpx": "^1.5.0",
|
|
|
|
"prettier": "^1.10.2",
|
|
|
|
"rimraf": "^2.6.2"
|
2017-07-26 05:52:49 +00:00
|
|
|
}
|
|
|
|
}
|