intently 0.2.1

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 ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "intently",
3
+ "version": "0.2.1",
4
+ "description": "Intent-aware prefetching. Predicts where the cursor is headed — proximity + trajectory — and prefetches (or prerenders via the Speculation Rules API) the link a beat before the click. Zero-config, ~4KB, framework-agnostic.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Sean Geng (https://seangeng.com)",
8
+ "homepage": "https://github.com/seangeng/intently#readme",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/seangeng/intently.git"
12
+ },
13
+ "bugs": "https://github.com/seangeng/intently/issues",
14
+ "keywords": [
15
+ "prefetch",
16
+ "prerender",
17
+ "preload",
18
+ "speculation-rules",
19
+ "performance",
20
+ "web-performance",
21
+ "navigation",
22
+ "intent",
23
+ "predictive-prefetch",
24
+ "quicklink",
25
+ "instant-page",
26
+ "trajectory"
27
+ ],
28
+ "sideEffects": false,
29
+ "main": "./dist/index.cjs",
30
+ "module": "./dist/index.js",
31
+ "types": "./dist/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/index.d.ts",
35
+ "import": "./dist/index.js",
36
+ "require": "./dist/index.cjs"
37
+ },
38
+ "./react": {
39
+ "types": "./dist/react.d.ts",
40
+ "import": "./dist/react.js",
41
+ "require": "./dist/react.cjs"
42
+ }
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "scripts": {
48
+ "build": "tsup",
49
+ "dev": "tsup --watch",
50
+ "typecheck": "tsc --noEmit",
51
+ "prepublishOnly": "npm run build"
52
+ },
53
+ "peerDependencies": {
54
+ "react": ">=17"
55
+ },
56
+ "peerDependenciesMeta": {
57
+ "react": {
58
+ "optional": true
59
+ }
60
+ },
61
+ "devDependencies": {
62
+ "@types/react": "^18.3.12",
63
+ "react": "^18.3.1",
64
+ "tsup": "^8.3.5",
65
+ "typescript": "^5.7.2"
66
+ }
67
+ }