Skip to content

Commit 11c7aa7

Browse files
lyskos97nodkz
authored andcommitted
chore: fix dependencies
1 parent 24b79c9 commit 11c7aa7

File tree

2 files changed

+34
-26
lines changed

2 files changed

+34
-26
lines changed

.eslintrc

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,43 @@
11
{
2-
"extends": [
3-
"airbnb-base",
4-
"prettier"
5-
],
2+
"extends": ["airbnb-base", "prettier"],
63
"parser": "babel-eslint",
74
"rules": {
85
"no-underscore-dangle": 0,
96
"arrow-body-style": 0,
107
"no-unused-expressions": 0,
118
"no-plusplus": 0,
12-
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*-test.js", "**/__mocks__/**", "**/__fixtures__/**"]}],
9+
"import/no-extraneous-dependencies": [
10+
"error",
11+
{
12+
"devDependencies": [
13+
"**/*-test.js",
14+
"**/__mocks__/**",
15+
"**/__fixtures__/**",
16+
"**/demo/**"
17+
]
18+
}
19+
],
1320
"no-prototype-builtins": 0,
1421
"no-restricted-syntax": 0,
1522
"no-mixed-operators": 0,
16-
"comma-dangle": ["error", {
17-
"arrays": "always-multiline",
18-
"objects": "always-multiline",
19-
"imports": "always-multiline",
20-
"exports": "always-multiline",
21-
"functions": "ignore"
22-
}],
23-
"prettier/prettier": ["error", {
24-
"printWidth": 100,
25-
"singleQuote": true,
26-
"trailingComma": "es5"
27-
}],
23+
"comma-dangle": [
24+
"error",
25+
{
26+
"arrays": "always-multiline",
27+
"objects": "always-multiline",
28+
"imports": "always-multiline",
29+
"exports": "always-multiline",
30+
"functions": "ignore"
31+
}
32+
],
33+
"prettier/prettier": [
34+
"error",
35+
{
36+
"printWidth": 100,
37+
"singleQuote": true,
38+
"trailingComma": "es5"
39+
}
40+
],
2841
"import/prefer-default-export": 0,
2942
"arrow-parens": 0,
3043
"prefer-destructuring": 0,
@@ -34,10 +47,7 @@
3447
"jasmine": true,
3548
"jest": true
3649
},
37-
"plugins": [
38-
"flowtype",
39-
"prettier"
40-
],
50+
"plugins": ["flowtype", "prettier"],
4151
"globals": {
4252
"Class": true,
4353
"Iterator": true,

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@
1717
"homepage": "https://github.com/graphql-compose/graphql-compose-rest",
1818
"dependencies": {
1919
"babel-runtime": "^6.26.0",
20-
"object-path": "^0.11.4",
21-
"express": "^4.16.2",
22-
"express-graphql": "^0.6.11",
23-
"graphql": "^0.11.7",
24-
"node-fetch": "^1.7.3"
20+
"object-path": "^0.11.4"
2521
},
2622
"peerDependencies": {
2723
"graphql-compose": ">=2.9.0"
@@ -46,6 +42,8 @@
4642
"graphql-compose": "^2.9.2",
4743
"jest": "^21.2.1",
4844
"node-fetch": "^1.7.3",
45+
"express": "^4.16.2",
46+
"express-graphql": "^0.6.11",
4947
"prettier": "^1.7.4",
5048
"rimraf": "^2.6.2",
5149
"semantic-release": "^8.2.0"

0 commit comments

Comments
 (0)