Skip to content

Commit 4ebe5c7

Browse files
committed
Updated to React 16.2, Next 5, Apollo Client 2.2.6, Graphql 0.13.1 and removed unnecessary dependencies
1 parent d2dfafc commit 4ebe5c7

File tree

2 files changed

+1237
-1362
lines changed

2 files changed

+1237
-1362
lines changed

package.json

+18-21
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"debug-mode": "babel-node --inspect src/server.js",
1414
"graphiql": "babel-node ./src/data/graphiql",
1515
"test": "jest",
16-
"flow": "flow",
1716
"build": "npm run build-clean && yarn install --dev && babel src -d build/app --ignore '**/*__tests__','**/*__mocks__' && cp -R src/static build/app/static && next build build/app",
1817
"build-clean": "rm -rf build/app",
1918
"build-next": "yarn install --dev && next build src",
@@ -30,10 +29,10 @@
3029
"graphql"
3130
],
3231
"dependencies": {
33-
"apollo-cache-inmemory": "^1.0.0",
34-
"apollo-client": "^2.0.1",
35-
"apollo-link-http": "^1.0.0",
36-
"apollo-server-express": "^1.1.2",
32+
"apollo-cache-inmemory": "^1.1.10",
33+
"apollo-client": "^2.2.6",
34+
"apollo-link-http": "^1.5.3",
35+
"apollo-server-express": "^1.3.2",
3736
"babel-runtime": "^6.26.0",
3837
"body-parser": "^1.17.2",
3938
"cookie": "^0.3.1",
@@ -43,20 +42,19 @@
4342
"express": "^4.15.4",
4443
"express-session": "^1.15.5",
4544
"firebase": "^4.3.1",
46-
"graphql": "^0.10.5",
47-
"graphql-tag": "^2.5.0",
48-
"graphql-tools": "^1.2.1",
45+
"graphql": "^0.13.1",
46+
"graphql-tag": "^2.8.0",
47+
"graphql-tools": "^2.21.0",
4948
"isomorphic-fetch": "^2.2.1",
5049
"lru-cache": "^4.1.1",
51-
"next": "^4.0.3",
50+
"next": "^5.0.0",
5251
"passport": "^0.4.0",
5352
"passport-local": "^1.0.0",
54-
"prop-types": "^15.5.10",
55-
"react": "^16.0.0",
56-
"react-apollo": "^2.0.0",
57-
"react-dom": "^16.0.0",
58-
"react-redux": "^5.0.6",
59-
"react-render-html": "^0.5.1",
53+
"prop-types": "^15.6.1",
54+
"react": "^16.2.0",
55+
"react-apollo": "^2.0.4",
56+
"react-dom": "^16.2.0",
57+
"react-render-html": "^0.6.0",
6058
"url": "^0.11.0"
6159
},
6260
"devDependencies": {
@@ -68,17 +66,16 @@
6866
"babel-preset-env": "^1.6.0",
6967
"babel-preset-react": "^6.24.1",
7068
"babel-preset-stage-0": "^6.24.1",
71-
"enzyme": "^3.1.0",
72-
"enzyme-adapter-react-16": "^1.0.1",
73-
"enzyme-to-json": "^3.1.2",
69+
"enzyme": "^3.3.0",
70+
"enzyme-adapter-react-16": "^1.1.1",
71+
"enzyme-to-json": "^3.3.1",
7472
"eslint": "^4.5.0",
7573
"eslint-config-airbnb": "^15.1.0",
7674
"eslint-plugin-import": "^2.7.0",
7775
"eslint-plugin-jsx-a11y": "^6.0.2",
7876
"eslint-plugin-react": "^7.2.1",
79-
"flow-bin": "^0.56.0",
80-
"jest": "^21.2.1",
81-
"jest-enzyme": "^4.0.1",
77+
"jest": "^22.4.2",
78+
"jest-enzyme": "^5.0.2",
8279
"mockdate": "^2.0.2",
8380
"nodemon": "^1.12.0",
8481
"react-test-renderer": "^16.0.0"

0 commit comments

Comments
 (0)