{ "name": "next-firebase-functions", "version": "3.0.0", "description": "Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects and Docker.", "scripts": { "dev": "next -p 5000 src/app", "preserve": "yarn build-public && yarn build-funcs && yarn copy-deps", "serve": "cd dist/functions && firebase serve -p 3000 --debug -o 0.0.0.0", "deploy": "cd dist/functions && firebase deploy", "clean": "rimraf dist && mkdir -p dist/functions", "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,serviceAccountKey.json}\" \"dist/functions\" -C", "install-deps": "cd \"dist/functions\" && yarn install", "lint": "eslint src", "lint:fix": "eslint --fix src", "docker:dev": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up", "docker:serve": "docker-compose -f docker-compose.yml -f docker-compose.serve.yml up", "docker:deploy": "docker-compose -f docker-compose.yml -f docker-compose.deploy.yml up", "docker:down": "docker-compose down -v", "docker:sh": "docker-compose exec server sh", "logs": "firebase functions:log", "shell": "firebase functions:shell" }, "dependencies": { "body-parser": "^1.18.3", "compression": "^1.7.3", "cors": "^2.8.4", "express": "^4.16.3", "firebase-admin": "6.0.0", "firebase-functions": "^2.0.5", "helmet": "^3.13.0", "next": "7.0.0", "prop-types": "^15.6.2", "react": "16.5.2", "react-dom": "16.5.2" }, "devDependencies": { "@babel/cli": "^7.1.0", "@babel/core": "^7.1.0", "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/plugin-proposal-decorators": "^7.1.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-transform-async-to-generator": "^7.1.0", "@babel/plugin-transform-runtime": "^7.1.0", "@babel/preset-env": "^7.1.0", "babel-eslint": "^10.0.0", "babel-plugin-module-resolver": "^3.1.1", "cpx": "^1.5.0", "eslint": "^5.6.0", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^3.1.0", "eslint-config-standard": "^12.0.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jsx-a11y": "^6.1.1", "eslint-plugin-node": "^7.0.1", "eslint-plugin-prettier": "^2.6.2", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-react": "^7.11.1", "eslint-plugin-standard": "^4.0.0", "prettier": "^1.14.3", "rimraf": "^2.6.2" }, "engines": { "node": "8" } }