We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3553306 commit dc3d8c8Copy full SHA for dc3d8c8
package.json
@@ -3,14 +3,20 @@
3
"bugs": {
4
"url": "https://github.com/SMAKSS/react-scroll-direction/issues"
5
},
6
+ "dependencies": {
7
+ "react": "^18.2.0"
8
+ },
9
"description": "Detect scroll direction in react applications.",
10
"devDependencies": {
11
"@rollup/plugin-commonjs": "^23.0.2",
12
"@rollup/plugin-node-resolve": "^15.0.1",
13
"prop-types": "^15.8.1",
- "react": "^18.2.0",
14
"rollup": "^3.2.3"
15
16
+ "exports": {
17
+ "import": "./dist/esm/index.js",
18
+ "require": "./dist/cjs/index.js"
19
20
"files": [
21
"dist"
22
],
@@ -43,5 +49,5 @@
43
49
"generate": "rollup -c"
44
50
45
51
"type": "module",
46
- "version": "0.0.3"
52
+ "version": "0.0.4"
47
53
}
0 commit comments