forked from kriasoft/react-firebase-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
120 lines (119 loc) · 3.45 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "app",
"version": "0.0.0",
"private": true,
"main": "build/server.js",
"engines": {
"node": ">=8"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"dependencies": {
"@babel/polyfill": "^7.2.5",
"@babel/runtime": "^7.3.1",
"@firebase/app": "^0.3.9",
"@material-ui/core": "^3.9.2",
"@material-ui/icons": "^3.0.2",
"body-parser": "^1.18.3",
"classnames": "^2.2.6",
"cookie": "^0.3.1",
"cookie-parser": "^1.4.4",
"dataloader": "^1.4.0",
"dotenv": "^6.2.0",
"ejs": "^2.6.1",
"express": "^4.16.4",
"express-graphql": "^0.7.1",
"firebase-admin": "^7.0.0",
"firebase-functions": "^2.2.0",
"got": "^9.6.0",
"graphql": "^14.1.1",
"graphql-relay": "^0.6.0",
"history": "^4.7.2",
"hoist-non-react-statics": "^3.3.0",
"idx": "^2.5.4",
"jsonwebtoken": "^8.5.0",
"jwt-passport": "^0.0.5",
"knex": "^0.16.3",
"lodash": "^4.17.11",
"moment-timezone": "^0.5.23",
"passport": "^0.4.0",
"passport-facebook": "^3.0.0",
"passport-google-oauth20": "^1.0.0",
"pg": "^7.8.1",
"prop-types": "^15.7.2",
"query-string": "^6.2.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-relay": "^3.0.0",
"recompose": "^0.30.0",
"relay-runtime": "^3.0.0",
"request": "^2.88.0",
"request-promise-native": "^1.0.7",
"serialize-javascript": "^1.6.1",
"slug": "^1.0.0",
"universal-router": "^8.1.0",
"uuid": "^3.3.2",
"validator": "^10.11.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-flow": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-relay": "^3.0.0",
"chai": "^4.2.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-flowtype": "^2.50.1",
"eslint-plugin-prettier": "^3.0.1",
"flow-bin": "^0.93.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.4",
"minimist": "^1.2.0",
"prettier": "^1.16.4",
"raw-loader": "^1.0.0",
"react-app-tools": "^3.1.0-preview.6",
"relay-compiler": "^3.0.0"
},
"lint-staged": {
"*.js": [
"yarn run eslint --no-ignore --fix --max-warnings=0",
"yarn run prettier --write",
"git add --force"
],
"*.json": [
"prettier --write",
"git add --force"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"scripts": {
"setup": "node ./scripts/setup",
"update-schema": "node ./scripts/update-schema",
"relay": "relay-compiler --src ./src --schema ./schema.graphql",
"prestart": "yarn relay",
"start": "react-app start",
"build": "react-app build",
"test": "react-app test",
"lint": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" .",
"lint-fix": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" --fix . && yarn run prettier --write \"**/*.{js,json}\"",
"db": "node ./scripts/db",
"db-backup": "node ./scripts/db-backup",
"db-restore": "node ./scripts/db-restore",
"db-change": "knex migrate:make",
"db-migrate": "knex migrate:latest",
"db-rollback": "knex migrate:rollback",
"db-seed": "knex seed:run",
"db-version": "knex migrate:currentVersion",
"deploy": "yarn run deploy-test",
"deploy-test": "firebase --project=example-test deploy && node ./scripts/post-deploy --env=test",
"deploy-prod": "firebase --project=example-prod deploy && node ./scripts/post-deploy --env=prod"
}
}