-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
80 lines (80 loc) · 2.2 KB
/
package.json
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
{
"name": "react-bottom-scroll-listener",
"type": "commonjs",
"version": "5.1.0",
"author": "Karl J. Overå",
"license": "MIT",
"description": "A simple React component that lets you listen for when you have scrolled to the bottom.",
"repository": {
"url": "git+https://github.com/karl-run/react-bottom-scroll-listener.git"
},
"homepage": "https://github.com/karl-run/react-bottom-scroll-listener#readme",
"bugs": {
"url": "https://github.com/karl-run/react-bottom-scroll-listener/issues"
},
"keywords": [
"react",
"scrolling",
"bottom",
"listener",
"callback"
],
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/react-bottom-scroll-listener.mjs",
"require": "./dist/react-bottom-scroll-listener.js"
}
},
"main": "dist/react-bottom-scroll-listener.js",
"module": "dist/react-bottom-scroll-listener.mjs",
"types": "dist/index.d.ts",
"source": "src/index.tsx",
"packageManager": "[email protected]",
"engines": {
"node": ">=10"
},
"workspaces": [
"example"
],
"scripts": {
"build": "vite build && tsc",
"dev": "vite build --watch",
"build:example": "cd example && vite build --base=/react-bottom-scroll-listener/",
"dev:example": "cd example && vite",
"lint": "biome check src",
"test": "vitest --run --coverage",
"prepublish": "run-s build"
},
"dependencies": {
"lodash.debounce": "^4.0.8"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@karl-run/prettier-config": "^1.0.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@types/lodash.debounce": "^4.0.9",
"@types/node": "^22.7.4",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/coverage-v8": "2.1.2",
"jsdom": "^25.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vitest": "^2.1.2"
},
"prettier": "@karl-run/prettier-config"
}