scroll-arrows 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -20,6 +20,8 @@ Framework-agnostic core + a thin React wrapper. Arrows live in a click-through
20
20
  overlay `<svg>`, auto-track their endpoints with `ResizeObserver`, and draw on
21
21
  scroll progress.
22
22
 
23
+ **[▶ Live demo](https://dancj.github.io/scroll-arrows/)**
24
+
23
25
  ```bash
24
26
  npm install scroll-arrows
25
27
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scroll-arrows",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Hand-drawn arrows that draw themselves between two elements as you scroll. Roughness goes from clean straight lines to scratchy and curvy.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -54,6 +54,7 @@
54
54
  "build": "tsup",
55
55
  "dev": "tsup --watch",
56
56
  "demo": "vite demo",
57
+ "demo:build": "vite build demo --base=/scroll-arrows/ --outDir dist-demo --emptyOutDir",
57
58
  "gen:hero": "node scripts/genHeroSvg.mjs",
58
59
  "typecheck": "tsc --noEmit",
59
60
  "lint": "eslint .",