{"_id":"redux-devtools-dispatch","_rev":"3142793","name":"redux-devtools-dispatch","description":"Dispatch your actions manually to test if your app reacts well","dist-tags":{"latest":"2.2.1"},"maintainers":[{"name":"yorunohikage","email":""}],"time":{"modified":"2023-11-27T06:53:47.000Z","created":"2016-01-02T14:11:28.106Z","2.2.1":"2017-05-16T07:00:34.233Z","2.2.0":"2016-04-18T20:32:31.537Z","2.1.0":"2016-04-10T13:23:31.259Z","2.0.1":"2016-02-28T12:25:38.967Z","0.2.0":"2016-01-11T23:29:43.521Z","1.0.0":"2016-02-07T18:44:23.969Z","0.1.1":"2016-01-05T23:51:10.134Z","0.1.0":"2016-01-02T14:11:28.106Z"},"users":{},"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"versions":{"2.2.1":{"name":"redux-devtools-dispatch","version":"2.2.1","description":"Dispatch your actions manually to test if your app reacts well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":">=0.14.9","redux-devtools":"^3.0.0"},"dependencies":{"get-params":"^0.1.2","prop-types":"^15.5.10","redux-devtools-themes":"^1.0.0"},"gitHead":"973b67b5fa1d3b8956c7377b289a730329a49882","_id":"redux-devtools-dispatch@2.2.1","_shasum":"2674310c9fd58ee4461c95425ce2ba21b9255201","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.9.0","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"2674310c9fd58ee4461c95425ce2ba21b9255201","size":7028,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-2.2.1.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/redux-devtools-dispatch-2.2.1.tgz_1494918033560_0.6511763862799853"},"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:11.053Z","publish_time":1494918034233,"_cnpm_publish_time":1494918034233},"2.2.0":{"name":"redux-devtools-dispatch","version":"2.2.0","description":"Dispatch your actions manually to test if your app reacts well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":">=0.14.0","redux-devtools":"^3.0.0"},"dependencies":{"get-params":"^0.1.2","redux-devtools-themes":"^1.0.0"},"gitHead":"27396aa89f4e762f855faffc1ebaf1f8f39cd7b9","_id":"redux-devtools-dispatch@2.2.0","_shasum":"7181389dc2f44bbc51bb2893f8c9a11d8a5672f2","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.10.1","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"7181389dc2f44bbc51bb2893f8c9a11d8a5672f2","size":7006,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-2.2.0.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/redux-devtools-dispatch-2.2.0.tgz_1461011550397_0.9152460449840873"},"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:10.141Z","publish_time":1461011551537,"_cnpm_publish_time":1461011551537},"2.1.0":{"name":"redux-devtools-dispatch","version":"2.1.0","description":"Dispatch your actions manually to test if your app reacts well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":">=0.14.0","redux-devtools":"^3.0.0"},"dependencies":{"get-params":"^0.1.2","redux-devtools-themes":"^1.0.0"},"gitHead":"2226ffc85e4c9de65fe198c3d89b68c5138e77a3","_id":"redux-devtools-dispatch@2.1.0","_shasum":"d92f94d5bdd4eb591e8b4dca3e27826810dd1c0f","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.10.1","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"d92f94d5bdd4eb591e8b4dca3e27826810dd1c0f","size":6925,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-2.1.0.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/redux-devtools-dispatch-2.1.0.tgz_1460294610269_0.23525372170843184"},"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:09.231Z","publish_time":1460294611259,"_cnpm_publish_time":1460294611259},"2.0.1":{"name":"redux-devtools-dispatch","version":"2.0.1","description":"Dispatch your actions manually to test if your app reacts well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":"^0.14.0","redux-devtools":"^3.0.0"},"dependencies":{"get-params":"^0.1.2","redux-devtools-themes":"^1.0.0"},"gitHead":"8815d2cbdc7801fa2bdbdccd0f9fbf004306fb95","_id":"redux-devtools-dispatch@2.0.1","_shasum":"b29dbe5550e447cc8226ad27fd473fc7cb96077f","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.0.0","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"b29dbe5550e447cc8226ad27fd473fc7cb96077f","size":6746,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-2.0.1.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/redux-devtools-dispatch-2.0.1.tgz_1456662336092_0.8474942957982421"},"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:08.308Z","publish_time":1456662338967,"_cnpm_publish_time":1456662338967},"0.2.0":{"name":"redux-devtools-dispatch","version":"0.2.0","description":"Dispatch your actions manually to test if your app reacts well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":"^0.14.0","redux-devtools":"^3.0.0"},"dependencies":{"redux-devtools-themes":"^1.0.0"},"gitHead":"7f4d58528098c174052bb1e1bbbaec632240beed","_id":"redux-devtools-dispatch@0.2.0","_shasum":"45e6ac4e0ea0a048918527e2cba03fbdb92bd084","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.0.0","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"45e6ac4e0ea0a048918527e2cba03fbdb92bd084","size":5628,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-0.2.0.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:06.419Z","publish_time":1452554983521,"_cnpm_publish_time":1452554983521},"1.0.0":{"name":"redux-devtools-dispatch","version":"1.0.0","description":"Dispatch your actions manually to test if your app reacts well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":"^0.14.0","redux-devtools":"^3.0.0"},"dependencies":{"get-params":"^0.1.2","redux-devtools-themes":"^1.0.0"},"gitHead":"e002392692d9ebf56ac735da16a1340553350160","_id":"redux-devtools-dispatch@1.0.0","_shasum":"49419dc923a185373ac2c09daaa9ed38427561b9","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.0.0","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"49419dc923a185373ac2c09daaa9ed38427561b9","size":7240,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-1.0.0.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/redux-devtools-dispatch-1.0.0.tgz_1454870662835_0.06078236596658826"},"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:07.347Z","publish_time":1454870663969,"_cnpm_publish_time":1454870663969},"0.1.1":{"name":"redux-devtools-dispatch","version":"0.1.1","description":"Dispatch your actions manually to test if your app reacts well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":"^0.14.0","redux-devtools":"^3.0.0"},"dependencies":{},"gitHead":"c0ea391f1b7773669ba12c72c2f4169cb600127b","_id":"redux-devtools-dispatch@0.1.1","_shasum":"cc14ced3b06b43708eaae101a77e8b903a46b981","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.0.0","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"cc14ced3b06b43708eaae101a77e8b903a46b981","size":5088,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-0.1.1.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:05.427Z","publish_time":1452037870134,"_cnpm_publish_time":1452037870134},"0.1.0":{"name":"redux-devtools-dispatch","version":"0.1.0","description":"Dispatch your actions manually to test if your app react well","main":"lib/index.js","scripts":{"clean":"rimraf lib","build":"babel src --out-dir lib","prepublish":"npm run clean && npm run build"},"repository":{"type":"git","url":"git+https://github.com/YoruNoHikage/redux-devtools-dispatch.git"},"keywords":["redux","devtools","dispatch","actions","manually"],"author":{"name":"Alexis Launay","email":"yorunohikage@gmail.com","url":"http://github.com/YoruNoHikage"},"license":"MIT","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","devDependencies":{"babel-cli":"^6.3.15","babel-core":"^6.1.20","babel-loader":"^6.2.0","babel-preset-es2015-loose":"^6.1.3","babel-preset-react":"^6.3.13","babel-preset-stage-0":"^6.3.13","rimraf":"^2.3.4","webpack":"^1.11.0"},"peerDependencies":{"react":"^0.14.0","redux-devtools":"^3.0.0"},"dependencies":{},"gitHead":"12f62ed81a05a25d4ae568c50339dccb33b89bc4","_id":"redux-devtools-dispatch@0.1.0","_shasum":"09c42ffa25d516340da8380d12f9e8cab51dc805","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.0.0","_npmUser":{"name":"yorunohikage","email":"yorunohikage@gmail.com"},"dist":{"shasum":"09c42ffa25d516340da8380d12f9e8cab51dc805","size":3873,"noattachment":false,"key":"/redux-devtools-dispatch/-/redux-devtools-dispatch-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/redux-devtools-dispatch/download/redux-devtools-dispatch-0.1.0.tgz"},"maintainers":[{"name":"yorunohikage","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-22T22:14:04.484Z","publish_time":1451743888106,"_cnpm_publish_time":1451743888106}},"readme":"# Redux DevTools Dispatch\r\nDispatch your actions manually to test if your app reacts well.\r\n\r\n[![npm version](https://img.shields.io/npm/v/redux-devtools-dispatch.svg?style=flat-square)](https://www.npmjs.com/package/redux-devtools-dispatch)\r\n\r\n![redux-devtools-dispatch](https://cloud.githubusercontent.com/assets/969003/12874321/2c3624ec-cdd2-11e5-9856-fd7e24efb8d5.gif)\r\n\r\n### Installation\r\n\r\n`npm install --save-dev redux-devtools-dispatch`\r\n\r\n### Usage\r\n\r\nYou can declare your Dispatcher the same way you declare a Monitor in your Dev Tools.\r\n\r\n```jsx\r\nimport React from 'react';\r\nimport { createDevTools } from 'redux-devtools';\r\nimport Dispatcher from 'redux-devtools-dispatch';\r\n\r\nexport default createDevTools(\r\n  <Dispatcher />\r\n);\r\n```\r\n\r\nYou can inject action creators to ease the process of testing your app firing yourself actions.\r\n\r\n```jsx\r\nimport React from 'react';\r\nimport { createDevTools } from 'redux-devtools';\r\nimport Dispatcher from 'redux-devtools-dispatch';\r\n\r\nconst actionCreators = {\r\n  increment() {\r\n    return {type: 'INCREMENT_COUNTER'};\r\n  },\r\n  decrement() {\r\n    return {type: 'DECREMENT_COUNTER'};\r\n  },\r\n  nested: {\r\n    worksToo() {\r\n      return {type: 'NESTED_WORKS_TOO', cool: true};\r\n    },\r\n  },\r\n};\r\n\r\nexport default createDevTools(\r\n  <Dispatcher actionCreators={actionCreators} />\r\n);\r\n```\r\n\r\nYou can also use `<MultipleMonitors>` from [`redux-devtools-multiple-monitors`](https://github.com/YoruNoHikage/redux-devtools-multiple-monitors) to use multiple monitors into the `<DockMonitor>`:\r\n\r\n```jsx\r\nimport React from 'react';\r\n\r\nimport { createDevTools } from 'redux-devtools';\r\nimport LogMonitor from 'redux-devtools-log-monitor';\r\nimport DockMonitor from 'redux-devtools-dock-monitor';\r\nimport Dispatcher from 'redux-devtools-dispatch';\r\nimport MultipleMonitors from 'redux-devtools-multiple-monitors';\r\n\r\nexport default createDevTools(\r\n  <DockMonitor toggleVisibilityKey=\"ctrl-h\" changePositionKey=\"ctrl-q\" defaultIsVisible={false}>\r\n    <MultipleMonitors>\r\n      <LogMonitor />\r\n      <Dispatcher />\r\n    </MultipleMonitors>\r\n  </DockMonitor>\r\n);\r\n```\r\n\r\nThen, just write an JSON action in the field, click on Dispatch, and that's all!\r\n\r\n### Props\r\n\r\nName                  | Description\r\n-------------         | -------------\r\n`theme`               | _Same as in LogMonitor's package_ Either a string referring to one of the themes provided by [redux-devtools-themes](https://github.com/gaearon/redux-devtools-themes) (feel free to contribute!) or a custom object of the same format. Optional. By default, set to [`'nicinabox'`](https://github.com/gaearon/redux-devtools-themes/blob/master/src/nicinabox.js).\r\n`initEmpty`           | When `true`, the dispatcher is empty. By default, set to `false`, the dispatcher contains : `{ \"type\": \"\" }`.\r\n`actionCreators`      | Either a array of action creators or an object containing action creators. When defined, a selector appears to choose the action creator you want to fire, you can fill up the arguments and dispatch the action.\r\n`dispatchFn`          | Function to be called for dispatching actions. By default it is using component's `this.context.store.dispatch`. \r\n\r\n### Contributing\r\n\r\nAs this package is my first, any comment, pull request, issue is welcome so I can learn more from everyone.\r\n\r\n### License\r\n\r\nMIT\r\n","_attachments":{},"homepage":"https://github.com/YoruNoHikage/redux-devtools-dispatch","bugs":{"url":"https://github.com/YoruNoHikage/redux-devtools-dispatch/issues"},"license":"MIT"}