Skip to content

Commit 2367e96

Browse files
committed
changing npm main file
1 parent 34f9998 commit 2367e96

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
88

9+
# IDE dir & files
10+
.idea
11+
.idea/
12+
913
#Builded files
1014
cjs/
1115

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-use-scroll-navgiate",
33
"version": "2.0.0",
44
"description": "A react hook to scroll to the top of the page when navigate to another one",
5-
"main": "cjs/index.jsx",
5+
"main": "cjs/index.js",
66
"module": "esm/index.jsx",
77
"scripts": {
88
"build": "rollup -c",

0 commit comments

Comments
 (0)