Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "scroll-edges",
"version": "0.1.0",
"description": "Headless scroll overflow for React: which edges hide content, sticky insets, jump-to-edge arrows and an edge mask.",
"keywords": [
"react",
"scroll",
"overflow",
"scroll-shadow",
"sticky",
"headless",
"hooks"
],
"license": "AGPL-3.0-only",
"author": "Edgar Villarreal",
"type": "module",
"sideEffects": false,
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js"
}
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest",
"demo": "vite --config demo/vite.config.ts",
"demo:build": "vite build --config demo/vite.config.ts",
"e2e": "playwright test"
},
"peerDependencies": {
"react": ">=19"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@npmegar/eslint-config": "^0.4.0",
"@playwright/test": "^1.64.1",
"@testing-library/react": "^16.3.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"eslint": "^10.12.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react-hooks": "^7.1.1",
"happy-dom": "^20.14.5",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"rotulo": "^0.3.0",
"tesela": "^0.3.0",
"typescript": "~6.0.3",
"typescript-eslint": "^8.71.1",
"vite": "^8.3.4",
"vitest": "^5.0.3"
},
"overrides": {
"eslint-plugin-jsx-a11y": {
"eslint": "$eslint"
}
}
}