-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
84 lines (84 loc) · 2.62 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
81
82
83
84
{
"author": "SMAKSS",
"bugs": {
"url": "https://github.com/SMAKSS/react-scroll-direction/issues"
},
"description": "Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes with adjustable sensitivity and supports ES Modules.",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.1.3",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3",
"rollup": "^4.19.1",
"typescript": "^5.5.4"
},
"engines": {
"node": ">=18.0.0"
},
"exports": {
".": "./dist/index.js"
},
"files": [
"dist"
],
"homepage": "https://github.com/SMAKSS/react-scroll-direction#readme",
"keywords": [
"react-scroll-direction",
"scroll-position-react",
"react-hook-scroll-position",
"scroll-detection-react",
"scroll-position-detection",
"scroll-direction-detection",
"react-hook-scroll",
"direction-and-position-detection",
"scroll-hook",
"npm",
"yarn",
"react",
"remix",
"nextjs",
"gatsby",
"scroll",
"direction",
"position",
"SMAKSS",
"EcmaScript",
"TypeScript",
"detect scroll in react",
"react scroll position",
"react scroll direction and position"
],
"license": "MIT",
"main": "dist/es/index.js",
"name": "@smakss/react-scroll-direction",
"peerDependencies": {
"react": ">=16.8.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SMAKSS/react-scroll-direction.git"
},
"scripts": {
"format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|gql|graphql|mdx)\"",
"format:check": "prettier -l \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|gql|graphql|mdx)\"",
"generate": "rollup -c",
"lint": "npx eslint --cache --cache-location ./node_modules/.cache/.eslintcache --max-warnings=0 .",
"lint:fix": "npx eslint --fix .",
"setup": "yarn && husky install",
"typecheck": "tsc -b .",
"update:deps": "rm -rf node_modules yarn.lock && npx npm-check-updates -u && yarn"
},
"type": "module",
"types": "./dist/index.d.ts",
"version": "4.2.0"
}