Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 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
75
76
77
78
79
80
81
82
{
"name": "react-stickydiv",
"version": "4.0.2",
"description": "Stick any React element with CSS position: sticky",
"license": "ISC",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"peerDependencies": {
"react": ">=18"
},
"scripts": {
"build": "tsdown",
"build:demo": "vite build --config vite.config.ts",
"dev": "vite --config vite.config.ts",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"prepublishOnly": "npm run lint && npm run typecheck && npm test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/robbestad/react-stickydiv.git"
},
"bugs": {
"url": "https://github.com/robbestad/react-stickydiv/issues"
},
"homepage": "https://github.com/robbestad/react-stickydiv#readme",
"keywords": [
"react",
"react-component",
"sticky",
"position-sticky",
"component"
],
"author": {
"name": "Sven Anders Robbestad",
"email": "anders@robbestad.com",
"url": "https://www.robbestad.com"
},
"devDependencies": {
"@biomejs/biome": "2.5.11",
"@playwright/test": "1.62.1",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "7.0.1",
"@testing-library/react": "16.3.3",
"@types/node": "26.4.0",
"@types/react": "19.2.18",
"@types/react-dom": "19.2.5",
"@vitejs/plugin-react": "6.1.1",
"jsdom": "30.0.1",
"react": "19.2.8",
"react-dom": "19.2.8",
"tsdown": "0.22.14",
"typescript": "7.0.2",
"vite": "8.2.2",
"vitest": "4.1.11"
}
}