-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.66 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.66 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
{
"name": "react-scroll-detect",
"version": "2.0.0",
"description": "Tiny React components that tell you which section is in the viewport as the user scrolls.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"sideEffects": false,
"keywords": [
"react",
"scroll",
"scroll detect",
"scrollspy",
"react scroll",
"intersection",
"viewport"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean --target es2018",
"test": "vitest run --environment jsdom",
"test:watch": "vitest --environment jsdom",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/g30elipse/react-scroll-detect.git"
},
"homepage": "https://github.com/g30elipse/react-scroll-detect#readme",
"bugs": {
"url": "https://github.com/g30elipse/react-scroll-detect/issues"
},
"author": "Mukut Brahma",
"license": "ISC",
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"jsdom": "^25.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^4.1.10"
},
"overrides": {
"esbuild": "^0.28.1"
}
}