Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
Fix dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrydengren committed Nov 22, 2015
1 parent 337eb3b commit 95acde4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ function isFunction(val) {
return typeof val === 'function';
}


function handle(type, reducers) {
return (state, action) => {
if (action.type !== type) {
Expand All @@ -30,7 +29,6 @@ function handle(type, reducers) {
};
}


export default function(reducers, defaultState = {}) {
const handlers = Object.keys(reducers).map((type) => handle(type, reducers[type]));
return (state = Immutable(defaultState), action) => reduceReducers(...handlers)(state, action);
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@
"preversion": "npm test",
"prepublish": "npm run build"
},
"dependencies": {},
"dependencies": {
"flux-standard-action": "^0.6.0",
"reduce-reducers": "^0.1.1",
"seamless-immutable": "^4.0.2"
},
"devDependencies": {
"ava": "^0.5.0",
"babel": "^5.8.34",
"babel-eslint": "^4.1.5",
"eslint": "^1.10.1",
"eslint-config-billogram": "^0.1.0",
"flux-standard-action": "^0.6.0",
"reduce-reducers": "^0.1.1",
"redux": "^3.0.4",
"rimraf": "^2.4.4",
"seamless-immutable": "^4.0.2"
"rimraf": "^2.4.4"
}
}

0 comments on commit 95acde4

Please sign in to comment.