mirror of
https://github.com/bendtherules/github-delete-unused-repos.git
synced 2026-08-18 13:52:59 +00:00
Add redux-devtools-extension
This commit is contained in:
Generated
+5
@@ -7744,6 +7744,11 @@
|
|||||||
"symbol-observable": "^1.2.0"
|
"symbol-observable": "^1.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"redux-devtools-extension": {
|
||||||
|
"version": "2.13.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/redux-devtools-extension/-/redux-devtools-extension-2.13.5.tgz",
|
||||||
|
"integrity": "sha512-QQ9BRy77oURHMdGys9rfQcCQDzXZ1T4oW+eUyE5Cg7DNVau69HJzc4YNDMOmpi0Dzpi1zOQgQ2rUpgJta4Lfqg=="
|
||||||
|
},
|
||||||
"regenerate": {
|
"regenerate": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
|
||||||
|
|||||||
+2
-1
@@ -40,7 +40,8 @@
|
|||||||
"react-dom": "^16.5.2",
|
"react-dom": "^16.5.2",
|
||||||
"react-redux": "^5.0.7",
|
"react-redux": "^5.0.7",
|
||||||
"react-table": "^6.8.6",
|
"react-table": "^6.8.6",
|
||||||
"redux": "^4.0.0"
|
"redux": "^4.0.0",
|
||||||
|
"redux-devtools-extension": "^2.13.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^22.0.1",
|
"@types/jest": "^22.0.1",
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
import { Reducer, createStore, Store } from 'redux';
|
import { Reducer, createStore, Store } from 'redux';
|
||||||
|
import { devToolsEnhancer } from 'redux-devtools-extension';
|
||||||
|
|
||||||
import { ApplicationState, FilterStatus, RepoFilterState } from './model';
|
import { ApplicationState, FilterStatus, RepoFilterState } from './model';
|
||||||
import {
|
import {
|
||||||
ActionNames,
|
ActionNames,
|
||||||
@@ -74,6 +76,9 @@ export const reducer: Reducer<ApplicationState, ActionsType> = (
|
|||||||
export function createAppStore(): Store<ApplicationState, ActionsType> {
|
export function createAppStore(): Store<ApplicationState, ActionsType> {
|
||||||
return (createStore<ApplicationState, ActionsType, {}, {}>(
|
return (createStore<ApplicationState, ActionsType, {}, {}>(
|
||||||
reducer,
|
reducer,
|
||||||
initialState
|
initialState,
|
||||||
|
devToolsEnhancer({
|
||||||
|
serialize: true,
|
||||||
|
})
|
||||||
) as any) as Store<ApplicationState, ActionsType>;
|
) as any) as Store<ApplicationState, ActionsType>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user