forked from Bolket/next-firebase-functions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.8 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "next-firebase-functions",
"version": "3.0.0",
"description": "NextJS with firebase cloud functions and Docker",
"repository": "https://github.com/bolket/next-firebase-functions.git",
"author": "Bolket srls",
"license": "MIT",
"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"
},
"keywords": [
"firebase",
"cloud",
"function",
"serveless",
"docker",
"nextjs"
],
"engines": {
"node": "8"
}
}