2017-07-26 05:52:49 +00:00
|
|
|
{
|
|
|
|
"name": "with-firebase-hosting",
|
2018-05-21 08:28:09 +00:00
|
|
|
"version": "4.0.0",
|
2018-03-08 12:54:32 +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-05-21 08:28:09 +00:00
|
|
|
"dev": "next \"src/app\"",
|
|
|
|
"serve": "NODE_ENV=production firebase serve",
|
2017-07-26 05:52:49 +00:00
|
|
|
"deploy": "firebase deploy",
|
2018-05-21 08:28:09 +00:00
|
|
|
"clean": "rimraf \"dist/functions/**\" && rimraf \"dist/public\"",
|
2018-02-28 10:54:48 +00:00
|
|
|
"build-public": "cpx \"src/public/**/*.*\" \"dist/public\" -C",
|
|
|
|
"build-funcs": "babel \"src/functions\" --out-dir \"dist/functions\"",
|
|
|
|
"build-app": "next build \"src/app\"",
|
2018-05-21 08:28:09 +00:00
|
|
|
"copy-deps": "cpx \"*{package.json,package-lock.json,yarn.lock}\" \"dist/functions\" -C"
|
2018-02-28 10:54:48 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-05-21 08:28:09 +00:00
|
|
|
"firebase-admin": "5.12.1",
|
|
|
|
"firebase-functions": "1.0.2",
|
|
|
|
"next": "latest",
|
|
|
|
"react": "16.3.2",
|
|
|
|
"react-dom": "16.3.2"
|
2018-02-28 10:54:48 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-05-21 08:28:09 +00:00
|
|
|
"@babel/cli": "7.0.0-beta.42",
|
|
|
|
"cpx": "1.5.0",
|
|
|
|
"firebase-tools": "3.18.4",
|
|
|
|
"prettier": "1.12.1",
|
|
|
|
"rimraf": "2.6.2"
|
2017-07-26 05:52:49 +00:00
|
|
|
}
|
2018-05-21 08:28:09 +00:00
|
|
|
}
|