{"name":"redux-devtools-instrument","version":"1.9.5","description":"Redux DevTools instrumentation","main":"lib/instrument.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","lint":"eslint src test","test":"NODE_ENV=test mocha --compilers js:babel-core/register --recursive","test:watch":"NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch","test:cov":"babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive","prepare":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/reduxjs/redux-devtools.git"},"keywords":["redux","devtools","flux","hot reloading","time travel","live edit"],"author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"http://github.com/gaearon"},"license":"MIT","bugs":{"url":"https://github.com/reduxjs/redux-devtools/issues"},"homepage":"https://github.com/reduxjs/redux-devtools","devDependencies":{"babel-cli":"^6.3.17","babel-core":"^6.3.17","babel-eslint":"^4.1.6","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-stage-0":"^6.3.13","eslint":"^0.23","eslint-config-airbnb":"0.0.6","eslint-plugin-react":"^2.3.0","expect":"^1.6.0","isparta":"^3.0.3","mocha":"^2.2.5","redux":"^4.0.0","rimraf":"^2.3.4","rxjs":"^5.0.0-beta.6","webpack":"^1.11.0"},"dependencies":{"lodash":"^4.2.0","symbol-observable":"^1.0.2"},"_id":"redux-devtools-instrument@1.9.5","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"integrity":"sha512-hF45QWqLK22FFRr7nw8o5GjzJoiZ8Ea8xiKgPjy5m/26ODD6AvuARr1hiqGqBpSsnQEKnZGFqQUVga89VpMnlA==","shasum":"25a3b4ad7876440a55d56af5db3c9131b860f407","tarball":"http://registry-npm.ywwl.com/redux-devtools-instrument/download/redux-devtools-instrument-1.9.5.tgz","fileCount":5,"unpackedSize":54955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcS32+CRA9TVsSAnZWagAAxK4P/2tbyLW6i+V5HIzUrtSF\nLgajESVakvQbjwnn46GvG5Xl9DooHTpVDCsw3fYrzR2nMlYpwBH2KyGj69eF\nSI2YoylYvipwKMhUExFYmVCOz1w+f/5klJ1dyP5CzxjvFRfxqYE6Arohpvse\nZjHDodvW/OFr4tJkswbx/A8G2EdXYU4m+2XVD8aLGvKS4DEcAjCHL+2nTHws\nLEBz6OWk4NLt7w3Xwg0U8bEi09sOEpI5ib5PdTITDrKcYY39tXePOJqRZuMw\n0KjOKyElb+rMKw+yV3bYCQIGiMVYhZ+zL21GXtkpGd2c9bHvVzSEYOy4oMlf\nGMA63NBayNhsXZsVB6TPRqEAgJJ9EOD1+MMXuRP/1pVvnl4owLNUFjpnynvK\n/GRb+5CgN4hoc1tubJMnzX2pmsH980JEF67bQmd5R4epyQlXJfrxrCq9qlqv\njDLs3rZw6g2lIbvFr2VhXqHVK+wJD/XD34BPyKkFIiAQKnu34TP/OkRjEeTD\nzoRNlk6hqXsuw/LVQvApZ5yjHD4xvFMHW1b3+hzzzLz6feZo06TIkoq7Bwg0\n8D/FWwKlnoxzzP34D+evE9wtLxK9NU41pJ+6AxQr8xRuiUEE0Fj9YpzVoA/X\n3g+EylA6xXy7qsolESkG7RbkkEbSSBlTfYaNCbv/rd7Q8sH8Uno2llx+USWD\nIun0\r\n=mMeN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsno6a4LXoy1ZG+KNfbFIwv6P/Hn9D1/RbU7ge6Hn/7wIhAL3Se2YzBTzMtVXprfRc9buh19uAR241vd5G6O9g+LX5"}],"size":10519,"noattachment":false,"key":"/redux-devtools-instrument/-/redux-devtools-instrument-1.9.5.tgz"},"maintainers":[{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-devtools-instrument_1.9.5_1548451261183_0.4465287461143961"},"_hasShrinkwrap":false,"deprecated":"Package moved to @redux-devtools/instrument.","readme":"# Redux DevTools Instrumentation\n\nRedux enhancer used along with [Redux DevTools](https://github.com/reduxjs/redux-devtools) or [Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools).\n\n### Installation\n\n```\nnpm install --save-dev redux-devtools-instrument\n```\n\n### Usage\n\nAdd the store enhancer:\n\n##### `store/configureStore.js`\n\n```js\nimport { createStore, applyMiddleware, compose } from 'redux';\nimport thunk from 'redux-thunk';\nimport devTools from 'remote-redux-devtools';\nimport reducer from '../reducers';\n\n// Usually you import the reducer from the monitor\n// or apply with createDevTools as explained in Redux DevTools\nconst monitorReducer = (state = {}, action) => state;\n\nexport default function configureStore(initialState) {\n  const enhancer = compose(\n    applyMiddleware(...middlewares),\n    // other enhancers and applyMiddleware should be added before the instrumentation\n    instrument(monitorReducer, { maxAge: 50 })\n  );\n\n  // Note: passing enhancer as last argument requires redux@>=3.1.0\n  return createStore(reducer, initialState, enhancer);\n}\n```\n\n### API\n\n`instrument(monitorReducer, [options])`\n\n- arguments\n  - **monitorReducer** _function_ called whenever an action is dispatched ([see the example of a monitor reducer](https://github.com/gaearon/redux-devtools-log-monitor/blob/master/src/reducers.js#L13)).\n  - **options** _object_\n    - **maxAge** _number_ or _function_(currentLiftedAction, previousLiftedState) - maximum allowed actions to be stored on the history tree, the oldest actions are removed once `maxAge` is reached. Can be generated dynamically with a function getting current action as argument.\n    - **shouldCatchErrors** _boolean_ - if specified as `true`, whenever there's an exception in reducers, the monitors will show the error message, and next actions will not be dispatched.\n    - **shouldRecordChanges** _boolean_ - if specified as `false`, it will not record the changes till `pauseRecording(false)` is dispatched. Default is `true`.\n    - **pauseActionType** _string_ - if specified, whenever `pauseRecording(false)` lifted action is dispatched and there are actions in the history log, will add this action type. If not specified, will commit when paused.\n    - **shouldStartLocked** _boolean_ - if specified as `true`, it will not allow any non-monitor actions to be dispatched till `lockChanges(false)` is dispatched. Default is `false`.\n    - **shouldHotReload** _boolean_ - if set to `false`, will not recompute the states on hot reloading (or on replacing the reducers). Default to `true`.\n    - **trace** _boolean_ or _function_ - if set to `true`, will include stack trace for every dispatched action. You can use a function (with action object as argument) which should return `new Error().stack` string, getting the stack outside of reducers. Default to `false`.\n    - **traceLimit** _number_ - maximum stack trace frames to be stored (in case `trace` option was provided as `true`). By default it's `10`. If `trace` option is a function, `traceLimit` will have no effect, that should be handled there like so: `trace: () => new Error().stack.split('\\n').slice(0, limit+1).join('\\n')` (`+1` is needed for Chrome where's an extra 1st frame for `Error\\n`).\n\n### License\n\nMIT\n","publish_time":1548451261362,"_cnpm_publish_time":1548451261362,"dist-tags":{"beta":"1.2.0-beta-1","latest":"1.10.0"}}