@svelte-put/shortcut
Advanced tools
Comparing version
{ | ||
"name": "@svelte-put/shortcut", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Action to move node on mousedown & mousemove", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"types": "lib/src/index.d.ts", | ||
"type": "module", | ||
@@ -34,16 +34,11 @@ "publishConfig": { | ||
"devDependencies": { | ||
"@microsoft/api-documenter": "^7.19.12", | ||
"@microsoft/api-extractor": "^7.31.0", | ||
"@rollup/plugin-typescript": "^8.5.0", | ||
"@microsoft/api-documenter": "^7.19.24", | ||
"@microsoft/api-extractor": "^7.33.6", | ||
"@rollup/plugin-typescript": "^9.0.2", | ||
"@svelte-put/apirc": "^0.0.0", | ||
"@svelte-put/eslint-config": "^0.0.0", | ||
"@svelte-put/prettierrc": "^0.0.0", | ||
"@svelte-put/tsconfig": "^0.0.0", | ||
"eslint": "^8.23.1", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.7.1", | ||
"rollup": "^2.79.0", | ||
"rollup-plugin-filesize": "^9.1.2", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.8.3" | ||
"rollup": "^3.3.0", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.9.3" | ||
}, | ||
@@ -53,3 +48,3 @@ "scripts": { | ||
"format": "prettier --check --ignore-path .gitignore --plugin-search-dir=. \"./**/*.{ts,js,cjs}\"", | ||
"build": "rollup -c", | ||
"build": "rollup -c --configPlugin typescript", | ||
"api:extract": "api-extractor run --local --verbose", | ||
@@ -56,0 +51,0 @@ "api:document": "api-documenter markdown -i api/temp -o api/docs", |
@@ -27,2 +27,10 @@ <div align="center"> | ||
## Features | ||
- one or multiple trigger combinations | ||
- reactive `enabled` option for action and individual triggers | ||
- shortcut callback through either custom event (`on:shortcut`) for as parameter to action | ||
Customization is documented at [ShortcutParameters][github.api.shortcutparameters]. | ||
## `svelte-put` | ||
@@ -82,2 +90,13 @@ | ||
<p align="center"> | ||
<a href="https://www.buymeacoffee.com/vnphanquang" target="_blank"> | ||
<img | ||
src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" | ||
height="60" | ||
width="217" | ||
alt="buy vnphanquang a coffee" | ||
/> | ||
</a> | ||
</p> | ||
<!-- github specifics --> | ||
@@ -93,2 +112,3 @@ | ||
<!-- heading badge --> | ||
[npm.badge]: https://img.shields.io/npm/v/@svelte-put/shortcut | ||
@@ -95,0 +115,0 @@ [npm]: https://www.npmjs.com/package/@svelte-put/shortcut |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38256
2.16%9
-35.71%13
18.18%459
0.66%115
21.05%1
Infinity%