{"dist":{"shasum":"e6766da9f1618bebd1f6563131e1efe81c6f514e","tarball":"https://registry.npmjs.org/dnd-core/-/dnd-core-3.0.0.tgz","fileCount":91,"integrity":"sha512-4xvO4DmORxvXSU+gsqVkuRx4+VVkeUk5ZxMzTExeD42BJp2eyen/i/sE3Xh4gyEZ8chEepgU9GH7tWLly5zikw==","signatures":[{"sig":"MEQCIGlyFOj0yYmjEhXDa7E23K3p56onOk5DDgEEAA2sZCBEAiArGhVQZXlZePk5Wg2klk0x9mo8QA5lJRJKCNWAvSiNQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":195115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6ihSCRA9TVsSAnZWagAA4vQP/08G0VR6iDh2D9sjCk46\nuEoD4iGCN9V+o6h3siRWnJf8CDGq0+bNqyZEBnjONLSvy3TzMNa1s3L/YY+Y\nOrVoI0UQw9K+GDt5i/46RRGMBAw141qD08RRZ64dyfo/0ATKYyJcDa+7HdHk\nwgfmYUKLsXXHrqkkF6LvqGGUXYTc9goeaYhealkv3Zrusd5pKSPSF4im6dpr\nWnZukQUnPOvztmRvV5zvGcrSH28eDgTmNThvjAlcw4nRQFDnPYnZUjoNfc21\nWGHr56r6s+zf7R6STv+LRhkM4dQAc6GZT4p8uevB/57XxgoN47ytYQypPDv2\nHDMwwu+C3cRUb2yl7b+LkOlSnFKAja2EIWQwcFecbEAr0wJcbYB8Zw4DnqOD\n6+s7zwinzrgk4nGrYoPCNvvNEhUfx6gzqu6u4eWagEZvx+FBMXXzH5BSJiK6\nfM4Vn1ayqVGUs1RDrN/SX4IT2YPcPnwQ3Wc0xKiuyvO6304qKYDdAAgLNr0X\n6ZppwDqhYi1y/K1KYt4NbL+eeZl2ohpevkZeQ1dpYHCO9b+4PFU8n2aDht7Y\nK/UahcEQ4KtitsqGCZ66TkEQl3Bvs7dWxspiCMcfmElMqnYPkiGKHzilfMMu\n0TU5dXrJjUeOAdvdXHlOidNaE3A6vRHCKfF4hxaQHCUS35GhESahz/7mcFES\nUjdG\r\n=zsl0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","name":"dnd-core","types":"./lib/index.d.ts","readme":"[![npm package](https://img.shields.io/npm/v/dnd-core.svg?style=flat-square)](https://www.npmjs.org/package/dnd-core)\n[![Build Status](https://travis-ci.org/react-dnd/dnd-core.svg?branch=master)](https://travis-ci.org/react-dnd/dnd-core)\n[![Test Coverage](https://codeclimate.com/github/react-dnd/dnd-core/badges/coverage.svg)](https://codeclimate.com/github/react-dnd/dnd-core)\n[![bitHound Overall Score](https://www.bithound.io/github/react-dnd/dnd-core/badges/score.svg)](https://www.bithound.io/github/react-dnd/dnd-core)\n[![bitHound Code](https://www.bithound.io/github/react-dnd/dnd-core/badges/code.svg)](https://www.bithound.io/github/react-dnd/dnd-core)\n[![bitHound Dependencies](https://www.bithound.io/github/react-dnd/dnd-core/badges/dependencies.svg)](https://www.bithound.io/github/react-dnd/dnd-core/master/dependencies/npm)\n[![bitHound Dev Dependencies](https://www.bithound.io/github/react-dnd/dnd-core/badges/devDependencies.svg)](https://www.bithound.io/github/react-dnd/dnd-core/master/dependencies/npm)\n\n# dnd-core\n\nDrag and drop sans the GUI.\n\nThis is a clean implementation of drag and drop primitives that does not depend on the browser.\nIt powers [React DnD](https://github.com/react-dnd/react-dnd) internally.\n\n## Wat?\n\nTo give you a better idea:\n\n* There is no DOM here\n* We let you define drop target and drag source logic\n* We let you supply custom underlying implementations (console, DOM via jQuery, React, React Native, _whatever_)\n* We manage drag source and drop target interaction\n\nThis was written to support some rather complicated scenarios that were too hard to implement in [React DnD](https://github.com/react-dnd/react-dnd) due to its current architecture:\n\n* [Mocking drag and drop interaction in tests](https://github.com/react-dnd/react-dnd/issues/55)\n* [Full support for arbitrary nesting and handling drag sources and drop targets](https://github.com/react-dnd/react-dnd/issues/87)\n* [Dragging multiple items at once](https://github.com/react-dnd/react-dnd/issues/14)\n* [Even when source is removed, letting another drag source “represent it” (e.g. card disappeared from one Kanban list, reappeared in another one)](https://github.com/react-dnd/react-dnd/pull/64#issuecomment-76118757)\n\nAs it turns out, these problems are much easier to solve when DOM is thrown out of the window.\n\n## What's the API like?\n\n[Tests](https://github.com/react-dnd/dnd-core/tree/master/test) should give you some idea. You register drag sources and drop targets, hook up a backend (you can use barebones `TestBackend` or implement a fancy real one yourself), and your drag sources and drop targets magically begin to interact.\n\n![](http://i.imgur.com/6l8CpxZ.png)\n","license":"BSD-3-Clause","scripts":{"test":"run-s clean build","build":"tsc","clean":"rimraf lib"},"_npmUser":{"name":"darthtrevino","email":"darthtrevino@gmail.com"},"repository":{"url":"https://github.com/react-dnd/react-dnd.git","type":"git"},"description":"Drag and drop sans the GUI","directories":{},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Dan Abramov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","maintainers":[{"name":"darthtrevino","email":"darthtrevino@gmail.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"jordangens","email":"jordangens@gmail.com"}],"dependencies":{"asap":"^2.0.6","redux":"^4.0.0","lodash":"^4.2.0","invariant":"^2.0.0","@types/node":"^8.10.11","@types/redux":"^3.6.0","@types/lodash":"^4.14.107","redux-actions":"^2.3.0","@types/invariant":"^2.2.29","@types/redux-actions":"^2.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.1","typescript":"^2.8.1","npm-run-all":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/dnd-core_3.0.0_1525295185682_0.45854245708411656","host":"s3://npm-registry-packages"},"_id":"dnd-core@3.0.0","version":"3.0.0"}