Skip to content

Commit

Permalink
Update dependency version (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
taehwanno authored Dec 14, 2017
1 parent 5d5622e commit 4653e88
Show file tree
Hide file tree
Showing 3 changed files with 742 additions and 612 deletions.
4 changes: 2 additions & 2 deletions app/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export function fetchHackerNews(type, page) {
.then(response =>
response.json()
.then(data => data.map((v) => {
const { comments_count, time_ago, ...rest } = v;
return { ...rest, commentsCount: comments_count, timeAgo: time_ago };
const { comments_count: commentsCount, time_ago: timeAgo, ...rest } = v;
return { ...rest, commentsCount, timeAgo };
}))
.then(data => dispatch(hackerNewsFetchSuccess(type, page, data))))
.catch(error => dispatch(hackerNewsFetchFailure(error)));
Expand Down
80 changes: 41 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.3",
"description": "HNPWA with React",
"license": "MIT",
"scripts": {
"start": "cross-env NODE_ENV=development node ./devServer.js",
"start:firebase": "firebase serve --only hosting,functions",
Expand Down Expand Up @@ -42,9 +43,9 @@
"lodash": "^4.17.4",
"normalize.css": "^7.0.0",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-hot-loader": "^3.1.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-hot-loader": "^3.1.3",
"react-redux": "^5.0.6",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.6",
Expand All @@ -60,18 +61,18 @@
"whatwg-fetch": "^2.0.3"
},
"devDependencies": {
"@storybook/addon-actions": "^3.2.13",
"@storybook/addon-info": "^3.2.13",
"@storybook/addon-knobs": "^3.2.13",
"@storybook/addon-links": "^3.2.13",
"@storybook/addon-options": "^3.2.13",
"@storybook/react": "^3.2.13",
"@storybook/addon-actions": "^3.2.17",
"@storybook/addon-info": "^3.2.17",
"@storybook/addon-knobs": "^3.2.17",
"@storybook/addon-links": "^3.2.17",
"@storybook/addon-options": "^3.2.17",
"@storybook/react": "^3.2.17",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-eslint": "^8.0.3",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dynamic-import-node": "^1.1.0",
"babel-plugin-dynamic-import-node": "^1.2.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-imports": "^1.4.1",
Expand All @@ -82,53 +83,54 @@
"case-sensitive-paths-webpack-plugin": "^2.1.1",
"clean-webpack-plugin": "^0.1.17",
"compression-webpack-plugin": "^1.0.1",
"copy-webpack-plugin": "^4.2.0",
"cross-env": "^5.1.0",
"copy-webpack-plugin": "^4.2.3",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
"csso-webpack-plugin": "^1.0.0-beta.9",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.2",
"enzyme-to-json": "^3.1.4",
"eslint": "^4.9.0",
"csso-webpack-plugin": "^1.0.0-beta.10",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.2.2",
"eslint": "^4.13.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^21.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"extract-text-webpack-plugin": "^3.0.1",
"firebase-tools": "^3.13.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.4.2",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.5.1",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.5",
"firebase-tools": "^3.16.0",
"git-directory-deploy": "^1.5.1",
"html-webpack-plugin": "^2.30.1",
"husky": "^0.14.3",
"ignore-loader": "^0.1.2",
"jest": "^21.2.1",
"lint-staged": "^4.3.0",
"lint-staged": "^6.0.0",
"memory-fs": "^0.4.1",
"nock": "^9.0.24",
"nock": "^9.1.4",
"node-fetch": "^1.7.3",
"node-sass": "^4.5.3",
"node-sass": "^4.7.2",
"npm-check-updates": "^2.13.0",
"npm-run-all": "^4.1.1",
"postcss-loader": "^2.0.8",
"npm-run-all": "^4.1.2",
"postcss-loader": "^2.0.9",
"preload-webpack-plugin": "^2.0.0",
"react-addons-test-utils": "^15.6.2",
"react-test-renderer": "^16.0.0",
"react-test-renderer": "^16.2.0",
"redux-mock-store": "^1.3.0",
"require-from-string": "^2.0.1",
"resolve-url-loader": "^2.1.1",
"resolve-url-loader": "^2.2.1",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.6",
"sass-resources-loader": "^1.3.1",
"style-loader": "^0.19.0",
"webpack": "^3.8.1",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-middleware": "^1.12.0",
"webpack-dev-server": "^2.9.3",
"webpack-hot-middleware": "^2.20.0",
"webpack-merge": "^4.1.0",
"workbox-google-analytics": "^2.1.0",
"workbox-webpack-plugin": "^2.1.0"
"webpack": "^3.10.0",
"webpack-bundle-analyzer": "^2.9.1",
"webpack-dev-middleware": "^1.12.2",
"webpack-dev-server": "^2.9.7",
"webpack-hot-middleware": "^2.21.0",
"webpack-merge": "^4.1.1",
"workbox-google-analytics": "^2.1.1",
"workbox-webpack-plugin": "^2.1.2"
}
}
Loading

0 comments on commit 4653e88

Please sign in to comment.