@shopify/draggable
Advanced tools
Comparing version 0.0.0-snapshot-release-20230925203902 to 0.0.0-snapshot-release-20230925215731
{ | ||
"name": "@shopify/draggable", | ||
"version": "0.0.0-snapshot-release-20230925203902", | ||
"version": "0.0.0-snapshot-release-20230925215731", | ||
"private": false, | ||
@@ -41,3 +41,3 @@ "license": "MIT", | ||
"build:development": "yarn rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript", | ||
"build:production": "tsc && yarn rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript", | ||
"build:production": "tsc && yarn rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && yarn uglifyjs --compress --mangle -- build/umd/index.js -o build/umd/index.min.js", | ||
"verify": "yarn lint && yarn type-check && yarn build && yarn test" | ||
@@ -82,3 +82,4 @@ }, | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^5.2.2" | ||
"typescript": "^5.2.2", | ||
"uglify-js": "^3.17.4" | ||
}, | ||
@@ -85,0 +86,0 @@ "publishConfig": { |
@@ -43,4 +43,2 @@ [![npm version](https://badge.fury.io/js/%40shopify%2Fdraggable.svg)](https://badge.fury.io/js/%40shopify%2Fdraggable) | ||
**NOTE**: When installing with npm or yarn, `@shopify/draggable@1.0.0-beta.8` will be installed by default. If you want to install the latest version, please install `@shopify/draggable@1.0.0-beta.13` or `@shopify/draggable@next`. | ||
You can install the library via npm. | ||
@@ -62,13 +60,20 @@ | ||
<!-- Entire bundle --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.13/lib/draggable.bundle.js"></script> | ||
<!-- legacy bundle for older browsers (IE11) --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.13/lib/draggable.bundle.legacy.js"></script> | ||
<script type="module"> | ||
import { | ||
Draggable, | ||
Sortable, | ||
Droppable, | ||
Swappable, | ||
} from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/index.js'; | ||
</script> | ||
<!-- Draggable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.13/lib/draggable.js"></script> | ||
<script type="module"> | ||
import Draggable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Draggable/Draggable.js'; | ||
</script> | ||
<!-- Sortable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.13/lib/sortable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Sortable/Sortable.js"></script> | ||
<!-- Droppable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.13/lib/droppable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Droppable/Droppable.js"></script> | ||
<!-- Swappable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.13/lib/swappable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Swappable/Swappable.js"></script> | ||
<!-- Plugins only --> | ||
@@ -80,5 +85,5 @@ <script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.13/lib/plugins.js"></script> | ||
| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | | ||
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | ||
| Latest ✔ | Latest ✔ | 11+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | | ||
| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | | ||
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | ||
| Last 3 versions ✔ | Last 3 versions ✔ | Last 3 versions ✔ | | ||
@@ -85,0 +90,0 @@ ## Bundle sizes |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
836074
261
172
34