This repository has been archived by the owner on Feb 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpackage.json
41 lines (41 loc) · 1.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "firebase-functions-nextjs",
"version": "3.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"firebase-admin": "^6.3.0",
"firebase-functions": "^2.1.0",
"next": "^7.0.2",
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@firebase/app-types": "^0.3.2",
"cpx": "^1.5.0",
"firebase-tools": "^6.1.2",
"prettier": "^1.15.3",
"rimraf": "^2.6.2"
},
"scripts": {
"fblogin": "yarn firebase login",
"dev": "next \"src/app\"",
"preserve": "yarn build-public && yarn build-funcs && yarn build-app && yarn copy-deps && yarn install-deps",
"serve": "NODE_ENV=production yarn firebase serve --only functions,hosting",
"deploy-app": "yarn firebase deploy --only hosting,functions:app",
"deploy-functions": "yarn firebase deploy --only functions:greetings",
"deploy-all": "yarn 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": "NODE_ENV=production next build \"src/app\"",
"copy-deps": "cpx \"*{package.json,yarn.lock}\" \"dist/functions\"",
"install-deps": "cd \"dist/functions\" && yarn"
},
"prettier": {
"trailingComma": "es5"
}
}