Skip to content

Commit

Permalink
Updated all deps to latest semver (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
amilajack authored May 26, 2017
1 parent 4cbdd21 commit e34b208
Show file tree
Hide file tree
Showing 3 changed files with 487 additions and 459 deletions.
8 changes: 6 additions & 2 deletions app/actions/counter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// @flow
import type { counterStateType } from '../reducers/counter';

type actionType = {
type: string
};

export const INCREMENT_COUNTER = 'INCREMENT_COUNTER';
export const DECREMENT_COUNTER = 'DECREMENT_COUNTER';

Expand All @@ -17,7 +21,7 @@ export function decrement() {
}

export function incrementIfOdd() {
return (dispatch: () => void, getState: () => counterStateType) => {
return (dispatch: (action: actionType) => void, getState: () => counterStateType) => {
const { counter } = getState();

if (counter % 2 === 0) {
Expand All @@ -29,7 +33,7 @@ export function incrementIfOdd() {
}

export function incrementAsync(delay: number = 1000) {
return (dispatch: () => void) => {
return (dispatch: (action: actionType) => void) => {
setTimeout(() => {
dispatch(increment());
}, delay);
Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"asar": "^0.13.0",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.1",
"babel-jest": "^20.0.3",
"babel-loader": "^7.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dev-expression": "^0.2.1",
Expand All @@ -125,63 +125,63 @@
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-classes": "^6.24.1",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-preset-env": "^1.5.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"babili-webpack-plugin": "^0.0.11",
"babili-webpack-plugin": "^0.1.1",
"chalk": "^1.1.3",
"concurrently": "^3.4.0",
"cross-env": "^5.0.0",
"cross-spawn": "^5.1.0",
"css-loader": "^0.28.1",
"css-loader": "^0.28.3",
"devtron": "^1.4.0",
"electron": "^1.6.7",
"electron-builder": "^17.8.0",
"electron": "^1.6.10",
"electron-builder": "^18.0.1",
"electron-devtools-installer": "^2.2.0",
"enzyme": "^2.8.2",
"enzyme-to-json": "^1.5.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-formatter-pretty": "^1.1.0",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-compat": "^1.0.2",
"eslint-plugin-compat": "^1.0.3",
"eslint-plugin-flowtype": "^2.33.0",
"eslint-plugin-flowtype-errors": "^3.2.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jest": "^20.0.1",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-flowtype-errors": "^3.3.0",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-jest": "^20.0.3",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.0.1",
"express": "^4.15.2",
"express": "^4.15.3",
"extract-text-webpack-plugin": "^2.1.0",
"fbjs-scripts": "^0.7.1",
"file-loader": "^0.11.1",
"flow-bin": "^0.46.0",
"flow-bin": "^0.47.0",
"flow-runtime": "^0.12.0",
"flow-typed": "^2.1.2",
"html-webpack-plugin": "^2.28.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^20.0.1",
"jsdom": "^10.1.0",
"jest": "^20.0.4",
"jsdom": "^11.0.0",
"minimist": "^1.2.0",
"node-sass": "^4.5.2",
"node-sass": "^4.5.3",
"react-addons-test-utils": "^15.5.1",
"react-test-renderer": "^15.5.4",
"redux-logger": "^3.0.1",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.1",
"sass-loader": "^6.0.5",
"sinon": "^2.2.0",
"sinon": "^2.3.1",
"spectron": "^3.7.0",
"style-loader": "^0.17.0",
"style-loader": "^0.18.1",
"stylefmt": "^5.3.2",
"stylelint": "^7.10.1",
"stylelint-config-standard": "^16.0.0",
"url-loader": "^0.5.8",
"webpack": "^2.5.1",
"webpack-bundle-analyzer": "^2.8.1",
"webpack": "^2.6.1",
"webpack-bundle-analyzer": "^2.8.2",
"webpack-dev-server": "^2.4.5",
"webpack-merge": "^4.1.0"
},
Expand All @@ -192,7 +192,7 @@
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-hot-loader": "3.0.0-beta.6",
"react-redux": "^5.0.4",
"react-redux": "^5.0.5",
"react-router": "^4.1.1",
"react-router-dom": "^4.1.1",
"react-router-redux": "^5.0.0-alpha.6",
Expand Down
Loading

0 comments on commit e34b208

Please sign in to comment.