@plusguard/anchor 0.0.0-stage → 3.4.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.
package/package.json CHANGED
@@ -1,6 +1,23 @@
1
1
  {
2
- "name": "@plusguard/anchor",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
2
+ "name": "@plusguard/anchor",
3
+ "version": "3.4.0",
4
+ "description": "In-page scrolling from HTML attributes: to a section, the top or the bottom, with a set duration — with or without Lenis. A back-to-top button that shows after a set scroll and steps out of the way of marked elements. Zero dependencies, framework-agnostic. CSS included.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" },
10
+ "./index.css": "./index.css",
11
+ "./early.js": "./early.js"
12
+ },
13
+ "files": ["dist", "index.ts", "index.css", "early.js", "README.md", "LICENSE"],
14
+ "sideEffects": ["*.css"],
15
+ "scripts": {
16
+ "build": "npx -p typescript tsc index.ts --outDir dist --declaration --target es2020 --module es2020 --lib dom,es2020 --strict"
17
+ },
18
+ "publishConfig": { "access": "public" },
19
+ "license": "MIT",
20
+ "author": "PlusGuard",
21
+ "repository": { "type": "git", "url": "git+https://github.com/omisilli/anchor.git" },
22
+ "keywords": ["anchor", "smooth-scroll", "scroll-to", "back-to-top", "scrollspy", "lenis", "data-attributes", "vanilla"]
23
+ }