{"size": 395, "ext": "js", "max_stars_repo_path": "src/store.js", "max_stars_repo_name": "JennerChen/simple-personal-cloudyService", "max_stars_repo_stars_event_min_datetime": "2017-03-06T00:48:47.000Z", "max_stars_repo_stars_event_max_datetime": "2017-03-06T00:48:47.000Z", "max_issues_repo_path": "src/store.js", "max_issues_repo_name": "JennerChen/simple-personal-cloudyService", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/store.js", "max_forks_repo_name": "JennerChen/simple-personal-cloudyService", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.3846153846, "max_line_length": 83, "alphanum_fraction": 0.7417721519}

import {createStore, applyMiddleware} from 'redux';
import logger from 'redux-logger';
import thunk from 'redux-thunk';
import reducers from './reducers/reducers';

const middlewareArr = [thunk];
if (process.env.NODE_ENV !== "production" ){
	middlewareArr.push(logger());
}

const appStore = createStore(reducers,applyMiddleware.apply(null, middlewareArr));
export default appStore;