-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.18 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
{
"name": "react-use-scroll-dir",
"version": "1.0.2",
"description": "React use scroll dir - is a library that allows you to control events depending on the scrolling direction of individual components or the main frame of a web application",
"keywords": [
"react-library",
"react-use-scroll-direction",
"scroll-direction"
],
"homepage": "https://github.com/xlebpushek/react-use-scroll-dir#readme",
"bugs": {
"url": "https://github.com/xlebpushek/react-use-scroll-dir/issues",
"email": "xlebpushek@gmail.com"
},
"license": "MIT",
"author": {
"name": "Xlebp Rjanoi",
"email": "xlebpushek@gmail.com",
"url": "https://xlebpushek.com"
},
"files": [
"dist"
],
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"dev": "rollup -c -w",
"build": "rollup -c",
"format": "prettier --write \"{src,tests}/**/*.{ts,tsx,js,jsx}\"",
"test:jest": "jest",
"test:jest:coverage": "jest --coverage",
"size": "size-limit",
"size:analyze": "size-limit --why"
},
"devDependencies": {
"@babel/core": "^7.23.6",
"@babel/preset-env": "^7.23.6",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-typescript": "^11.1.5",
"@size-limit/file": "^11.0.1",
"@size-limit/webpack": "^11.0.1",
"@size-limit/webpack-why": "^11.0.1",
"@testing-library/react": "^14.1.2",
"@types/babel__core": "^7.20.5",
"@types/babel__preset-env": "^7.9.6",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.1.1",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.9.1",
"rollup-plugin-dts": "^6.1.0",
"size-limit": "^11.0.1",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"webpack": "^5.89.0"
},
"peerDependencies": {
"react": ">=18"
},
"workspaces": [
"src",
"example"
],
"packageManager": "yarn@4.0.2"
}