/
package.json
77 lines (77 loc) · 2.42 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
{
"name": "react-bottom-scroll-listener",
"version": "5.1.0",
"description": "A simple React component that lets you listen for when you have scrolled to the bottom.",
"repository": "https://github.com/karl-run/react-bottom-scroll-listener",
"keywords": [
"react",
"scrolling",
"bottom",
"listener",
"callback"
],
"author": "Karl J. Overå",
"license": "MIT",
"homepage": "https://github.com/karl-run/react-bottom-scroll-listener#readme",
"bugs": {
"url": "https://github.com/karl-run/react-bottom-scroll-listener/issues"
},
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.tsx",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "microbundle-crl --no-compress --format modern,cjs",
"start": "microbundle-crl watch --no-compress --format modern,cjs",
"prepublish": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint src --ext .ts,.tsx",
"test:unit": "cross-env CI=1 react-scripts test --coverage",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/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": {
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^28.1.6",
"@types/lodash.debounce": "^4.0.7",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.2",
"eslint": "8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^4.0.0",
"microbundle-crl": "^0.13.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.0.2"
},
"packageManager": "yarn@4.0.1"
}