forked from SMAKSS/react-scroll-direction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.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.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/react": "^18.2.74",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rollup": "^4.14.0",
"typescript": "^5.4.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": "eslint --cache --cache-location ./node_modules/.cache/.eslintcache --ext js,jsx,ts,tsx --max-warnings=0 .",
"lint:fix": "eslint src/**/*.ts --fix",
"setup": "yarn && husky install",
"typecheck": "tsc -b .",
"update:deps": "rm -rf node_modules yarn.lock && ncu -u && yarn"
},
"type": "module",
"types": "./dist/index.d.ts",
"version": "4.2.0"
}