Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,26 @@
"webpack": "^3.1.0",
"webpack-dev-server": "^2.5.1"
},
"resolutions": {
Comment thread
Marian-zenchef marked this conversation as resolved.
"**/cipher-base": "1.0.5",
"**/cryptiles": "3.1.3",
"**/deep-extend": "0.5.1",
"**/elliptic": "6.6.1",
"**/eventsource": "1.1.1",
"**/form-data": "2.5.4",
"**/fsevents": "1.2.11",
"**/handlebars": "4.7.9",
"**/json-schema": "0.4.0",
"**/loader-utils": "1.4.1",
"**/lodash": "4.17.21",
"**/macaddress": "0.2.9",
"**/minimist": "1.2.6",
"**/pbkdf2": "3.1.3",
"**/sha.js": "2.4.12",
"**/shell-quote": "1.8.4",
"**/url-parse": "1.5.8",
"**/websocket-driver": "0.7.5"
},
"jest": {
"moduleNameMapper": {
"^react-dnd$": "<rootDir>/packages/react-dnd/src",
Expand Down
1 change: 0 additions & 1 deletion packages/react-dnd-html5-backend/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
test
.babelrc
webpack.config.js
.eslintignore
.eslintrc
.travis.yml
23 changes: 10 additions & 13 deletions packages/react-dnd-html5-backend/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
[![npm package](https://img.shields.io/npm/v/react-dnd-html5-backend.svg?style=flat-square)](https://www.npmjs.org/package/react-dnd-html5-backend)
[![Build Status](https://travis-ci.org/react-dnd/react-dnd-html5-backend.svg?branch=master)](https://travis-ci.org/react-dnd/react-dnd-html5-backend)
[![dependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend)
[![devDependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/dev-status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend?type=dev)
[![peerDependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/peer-status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend?type=peer)

# React DnD HTML5 Backend

Zenchef fork of `react-dnd-html5-backend`, published as `@zenchef/react-dnd-html5-backend` to GitHub Packages.

The officially supported HTML5 backend for [React DnD](http://react-dnd.github.io/react-dnd/).
See [the docs](http://react-dnd.github.io/react-dnd/docs-html5-backend.html) for usage information.

## Installation

If you use [npm](http://npmjs.com):
This fork is published to GitHub Packages, not to the public npm registry, so the
`@zenchef` scope has to be pointed at it first. In your project's `.npmrc`:

```
npm install --save react-dnd-html5-backend
@zenchef:registry=https://npm.pkg.github.com
```

The npm package defaults to the CommonJS build.
Then:

However it also includes a pre-minified UMD build in the `dist` folder.
The UMD build exports a global `window.ReactDnDHTML5Backend` when imported as a `<script>` tag.
```
npm install --save @zenchef/react-dnd-html5-backend
```

If you’d rather not use npm, you can use [unpkg](http://unpkg.com/) to access the UMD build directly: [ReactDnDHTML5Backend.min.js](https://unpkg.com/react-dnd-html5-backend@latest/dist/ReactDnDHTML5Backend.min.js).
You may point your Bower config to it.
The package is the CommonJS build (`lib/`). There is no UMD/`dist` build.

## Browser Support

Expand Down
3 changes: 3 additions & 0 deletions packages/react-dnd-html5-backend/babel.build.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": [["@babel/preset-env", { "targets": {} }]]
}
Loading