{"name":"redux-devtools-instrument","version":"1.9.0","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","prepublish":"npm run lint && npm run test && npm run clean && npm run build"},"files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/redux-devtools-instrument.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/zalmoxisus/redux-devtools-instrument/issues"},"homepage":"https://github.com/zalmoxisus/redux-devtools-instrument","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"},"gitHead":"c5f959171fc0617fbb6b58e7369fe1e57cdb261a","_id":"redux-devtools-instrument@1.9.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"jhen0409","email":"iainst0409@gmail.com"},"dist":{"integrity":"sha512-pLFQoja1ojpsSRTWbC9yyc/a+z8uwOD7FPKLp+Abs7qjsah6khA5o8HBE2wa0VipE5vniYINdkNyxV/2iWADKg==","shasum":"2faed9ac3292c783284b21843edfaa0567764a0c","tarball":"http://registry-npm.ywwl.com/redux-devtools-instrument/download/redux-devtools-instrument-1.9.0.tgz","fileCount":6,"unpackedSize":51102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTrjxCRA9TVsSAnZWagAAv9UQAJoXvI2sVeqjiHamCc1H\nD2BwJmY08J6yVuZQuWTcMqODKATLK1OYjAMygr0dS64KssxGYIu50AuECDil\n7Z0GjTZI4pMuOvmlrcNpvVV00BoIcRr7YYmysTatGaZMdx6qX/DjVlm1tNAO\nNZ7FGAOoZAqXovgA1Qcocgx29kXtbXG41t9r0PwlLbyLB9wRspwd0hdJv+JV\n1OijCSlo0wQkbZgBQQhJMg6j3WNlRQ4U0Fd7kF8r3y7Tj9452NTW7w66FyyO\nsADS9wsaXm28jF6FVw6njrww3YJH3zC4acf38e1jGiqjpglUOz1OPzTAwuM7\nViYEpyQg3l1VgSGQn13MM0BPAJXltqotukpBYr2zhZZP+Osq7/Fjy/pzUOaE\n7EyUW5ubgvNSbjyjO3oe8Yyoex5tAvVQpSdUOS9GJQCrlbeYC9zhNf/mAqcZ\nKIlZUP3P1AOvfeWucJYTgqyQs9K6sVLmK5UMns0GLteHWWrbVAgSP8yWco/H\nKYDydCnaaiXk7HLKNpQ46sQbJ4wQ3DWW8cHLDqMglpzBlcvDTGaSWagilmfv\nZt6SMmDOMmGyOC5rC0GZiNQHwoZXks4h+OY7bJ6qLbdO6+sS8DAqvT/EGZq6\nFj/iK9eBCfsS1lH3qJZQ5TTWgKozCJ2DoxlIet6sbFn4Cfy24vS1VqbW97aH\n1sHX\r\n=51oB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgTiMDWtMabHqhCVbaVSTaHZ7DBIiIYrbsuRF2ODD2KwIgbLGhf2sp3O6u0qqBKMQNfkq7F4kf6bQ05PZmbbX8cIw="}],"size":9849,"noattachment":false,"key":"/redux-devtools-instrument/-/redux-devtools-instrument-1.9.0.tgz"},"maintainers":[{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-devtools-instrument_1.9.0_1531885809346_0.6103845920063862"},"_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":1531885809425,"_cnpm_publish_time":1531885809425,"dist-tags":{"beta":"1.2.0-beta-1","latest":"1.10.0"}}