-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 3.7 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "owl-graphql",
"version": "0.0.1",
"description": "A GraphQL wrapper for the Overwatch League API made with the Serverless framework.",
"repository": {
"type": "git",
"url": "https://github.com/lookapanda/owl-graphql.git"
},
"scripts": {
"precommit": "lint-staged",
"prettier": "prettier --write \"src/**/*.{js,json,css,md}\"",
"prettier-check": "prettier --list-different \"src/**/*.{js,json,css,md}\"",
"test": "yarn run lint && yarn run prettier-check",
"start": "cross-env NODE_ENV=development serverless offline start",
"deploy-prod": "cross-env NODE_ENV=production serverless --stage=production deploy",
"deploy-dev": "cross-env NODE_ENV=production serverless --stage=dev deploy"
},
"lint-staged": {
"src/**/*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"apollo-errors": "^1.5.1",
"apollo-server-lambda": "1.3.2",
"apollo-tracing": "^0.0.9",
"awesome-phonenumber": "^2.2.4",
"aws-cli": "^0.0.2",
"aws-sdk": "^2.190.0",
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0",
"fetch-cached": "^2.0.3",
"global": "^4.3.2",
"graphql": "^0.12.3",
"graphql-cost-analysis": "^0.1.1",
"graphql-playground-middleware-lambda": "^1.3.6",
"graphql-relay": "^0.5.4",
"graphql-relay-connection": "^0.0.4",
"graphql-relay-tools": "^0.1.1",
"graphql-tag": "^2.6.1",
"graphql-tools": "2.7.2",
"node-fetch": "^2.0.0",
"redis": "^2.8.0",
"then-redis": "^2.0.1"
},
"devDependencies": {
"@types/graphql-relay": "^0.4.3",
"@types/sequelize": "^4.27.5",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-0": "^6.24.1",
"body-parser": "^1.15.2",
"cors": "2.8.4",
"cross-env": "^5.1.3",
"env-cmd": "^5.0.0",
"eslint": "^4.17.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.6.1",
"faker": "^4.1.0",
"husky": "^0.14.3",
"imports-loader": "^0.7.1",
"jsonfile": "^4.0.0",
"lint-staged": "^6.1.0",
"prettier": "^1.10.2",
"serverless-domain-manager": "^2.2.2",
"serverless-offline": "3.17.0",
"serverless-webpack": "^4.2.0",
"webpack": "^3.10.0",
"webpack-node-externals": "^1.6.0"
},
"babel": {
"presets": [
"env",
"stage-0"
]
},
"eslintConfig": {
"extends": [
"prettier",
"prettier/react",
"airbnb"
],
"plugins": [
"prettier"
],
"env": {
"es6": true,
"node": true,
"browser": true
},
"parser": "babel-eslint",
"rules": {
"prettier/prettier": [
"error",
{
"tabWidth": 4
}
],
"function-paren-newline": "off",
"comma-dangle": "off",
"arrow-parens": [
"error",
"as-needed"
],
"object-shorthand": "off",
"no-plusplus": "off",
"no-buffer-constructor": "off",
"no-restricted-properties": "off",
"no-param-reassign": "off",
"no-await-in-loop": "off",
"prefer-destructuring": "off",
"no-use-before-define": [
"error",
{
"functions": false,
"classes": true
}
],
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"no-console": "off",
"object-curly-newline": "off",
"indent": [
2,
4,
{
"SwitchCase": 1
}
]
}
}
}