svelte-drag-drop-touch
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "svelte-drag-drop-touch", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "HTML5 Drag-and-Drop support for mobile devices", | ||
@@ -10,2 +10,3 @@ "type": "module", | ||
}, | ||
"types": "./dist/svelte-drag-drop-touch.d.ts", | ||
"scripts": { | ||
@@ -12,0 +13,0 @@ "build": "rimraf dist && tsc && rollup -c rollup.config.js && mv src/*.d.ts dist && rm src/*.js", |
@@ -44,1 +44,12 @@ # svelte-drag-drop-touch # | ||
* [Flicking](https://svelte.dev/repl/ccac277ec864437a83fb7eae27168f99) - illustrates a simple approach to "flicking" | ||
### Build Instructions ### | ||
You may easily build this package yourself. | ||
Just install [NPM](https://docs.npmjs.com/) according to the instructions for your platform and follow these steps: | ||
1. either clone this repository using [git](https://git-scm.com/) or [download a ZIP archive](https://github.com/rozek/svelte-drag-drop-touch/archive/refs/heads/main.zip) with its contents to your disk and unpack it there | ||
2. open a shell and navigate to the root directory of this repository | ||
3. run `npm install` in order to install the complete build environment | ||
4. execute `npm run build` to create a new build |
@@ -16,7 +16,5 @@ // see https://remarkablemark.org/blog/2019/07/12/rollup-commonjs-umd/ | ||
plugins: [ | ||
commonjs(), | ||
resolve(), | ||
typescript(), | ||
resolve(), commonjs(), typescript(), | ||
terser({ format:{ comments:false, safari10:true } }) | ||
], | ||
}; |
37743
55
118