-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
102 lines (102 loc) · 2.6 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"version": "1.1.0",
"description": "A simple, performant, and cross-browser hook for handling scroll in your next react app.",
"homepage": "https://andrzejsala.github.io/use-scroll-direction",
"keywords": [
"react",
"hook",
"custom-hook",
"typescript",
"detect",
"scroll",
"scrolling",
"direction",
"position",
"window",
"ref",
"frontend",
"custom scroll",
"performant scroll",
"scroll detection"
],
"bugs": {
"url": "https://github.com/AndrzejSala/use-scroll-direction/issues"
},
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=12"
},
"repository": {
"type": "git",
"url": "https://github.com/AndrzejSala/use-scroll-direction"
},
"scripts": {
"storybook": "start-storybook -p 6006",
"build": "dts build",
"build:storybook": "build-storybook",
"publish": "npm run publish:package && npm run publish:storybook",
"publish:package": "npm run build && npm publish --access=public",
"publish:storybook": "npm run build:storybook && gh-pages -d storybook-static",
"test": "jest --ci --coverage --maxWorkers=2",
"test:watch": "jest --watchAll",
"lint": "dts lint",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "use-scroll-direction",
"author": "Andrzej Sala <[email protected]>",
"module": "dist/use-scroll-direction.esm.js",
"size-limit": [
{
"path": "dist/use-scroll-direction.cjs.production.min.js",
"limit": "5 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^5.0.3",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.3.12",
"@storybook/addons": "^6.3.12",
"@storybook/react": "^6.4.9",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.throttle": "^4.1.6",
"@types/react": "^17.0.21",
"@types/react-dom": "^17.0.9",
"dts-cli": "^0.19.4",
"gh-pages": "^3.2.3",
"husky": "^7.0.2",
"jest": "^27.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^5.0.3",
"ts-jest": "^27.0.7",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},
"dependencies": {
"lodash.throttle": "^4.1.1"
}
}