Comparing version 5.0.2 to 6.0.0
{ | ||
"name": "drag-drop", | ||
"description": "HTML5 drag & drop for humans", | ||
"version": "5.0.2", | ||
"version": "6.0.0", | ||
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)", | ||
@@ -14,8 +14,7 @@ "bugs": { | ||
"devDependencies": { | ||
"babel-minify": "^0.5.1", | ||
"browserify": "^16.1.0", | ||
"ecstatic": "^4.0.0", | ||
"html-inline": "^1.2.0", | ||
"standard": "*", | ||
"tape": "^4.0.0", | ||
"tinyify": "^2.5.2" | ||
"tape": "^4.0.0" | ||
}, | ||
@@ -41,8 +40,6 @@ "homepage": "https://github.com/feross/drag-drop", | ||
"scripts": { | ||
"build": "browserify --plugin tinyify -s DragDrop -r ./ > dragdrop.min.js", | ||
"demo": "html-inline example.html | curl -sT- https://htmlb.in", | ||
"example": "npm run build && ecstatic", | ||
"size": "npm run build && cat dragdrop.min.js | gzip | wc -c", | ||
"example": "browserify -s DragDrop -r ./ > example/dragdrop.min.js && ecstatic example --port 4000", | ||
"size": "browserify -s DragDrop -r ./ | minify | gzip | wc -c", | ||
"test": "standard && tape test/*.js" | ||
} | ||
} |
@@ -20,7 +20,2 @@ # drag-drop [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] | ||
This module works in the browser with [browserify](http://browserify.org/). | ||
**Note:** If you do not use browserify, use the included standalone file | ||
[`dragdrop.min.js`](https://rawgit.com/feross/drag-drop/master/dragdrop.min.js). This exports a `DragDrop` function on `window`. | ||
### live demo | ||
@@ -44,2 +39,4 @@ | ||
This module works in the browser with [browserify](https://browserify.org). If you do not use a bundler, you can use the [standalone script](https://bundle.run/drag-drop) directly in a `<script>` tag. | ||
### usage | ||
@@ -46,0 +43,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
13804
5
182