File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 4141 "react-dom" : " ^15.4.1" ,
4242 "react-redux" : " ^5.0.3" ,
4343 "redux" : " ^3.5.1" ,
44- "redux-logger" : " ^2.8.1 " ,
44+ "redux-logger" : " ^3.0.0 " ,
4545 "redux-thunk" : " ^2.2.0"
4646 },
4747 "peerDependencies" : {
6969 "eslint-plugin-babel" : " ^4.0.0" ,
7070 "eslint-plugin-react" : " ^6.7.1" ,
7171 "expect" : " ^1.20.2" ,
72+ "ghooks" : " ^2.0.0" ,
7273 "http-server" : " ^0.9.0" ,
7374 "istanbul-instrumenter-loader" : " ^2.0.0" ,
7475 "jasmine-core" : " ^2.5.2" ,
9798 "react-hot-loader" : " ^3.0.0-beta.6" ,
9899 "redux-devtools" : " ^3.3.1" ,
99100 "redux-mock-store" : " ^1.2.1" ,
100- "sinon" : " ^1.17.6 " ,
101+ "sinon" : " ^2.1.0 " ,
101102 "sinon-chai" : " ^2.8.0" ,
102- "style-loader" : " ^0.13.1 " ,
103+ "style-loader" : " ^0.16.0 " ,
103104 "stylint" : " ^1.5.9" ,
104105 "stylint-stylish" : " ^1.4.0" ,
105106 "stylus" : " ^0.54.5" ,
106107 "stylus-loader" : " ^3.0.1" ,
107108 "url-loader" : " ^0.5.7" ,
108109 "webpack" : " ^2.2.1" ,
109110 "webpack-dev-server" : " ^2.3.0"
111+ },
112+ "config" : {
113+ "ghooks" : {
114+ "pre-push" : " npm run lint && npm run test"
115+ }
110116 }
111117}
Original file line number Diff line number Diff line change 11import { compose , createStore , applyMiddleware } from 'redux' ;
22import rootReducer from '../reducers' ;
33import thunk from 'redux-thunk' ;
4- import createLogger from 'redux-logger' ;
4+ import logger from 'redux-logger' ;
55
66const composeEnhancers = window . __REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose ;
77
88export default function configureStore ( initialState ) {
9- const logger = createLogger ( ) ;
109 const store = createStore ( rootReducer , initialState , composeEnhancers (
1110 applyMiddleware (
1211 thunk ,
You can’t perform that action at this time.
0 commit comments