Skip to content

Commit e9b3e7f

Browse files
authored
Merge pull request #663 from thebuilder/fix/add-package-type
fix: include "type": "commonjs" in package.json
2 parents 64f6125 + 684affe commit e9b3e7f

3 files changed

Lines changed: 620 additions & 567 deletions

File tree

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "react-intersection-observer",
33
"version": "8.26.1",
44
"description": "Monitor if a component is inside the viewport, using IntersectionObserver API",
5+
"type": "commonjs",
56
"source": "./src/index.tsx",
67
"main": "./dist/index.js",
78
"module": "./dist/esm/index.js",
@@ -112,7 +113,7 @@
112113
"@testing-library/jest-dom": "^6.4.2",
113114
"@testing-library/react": "^14.2.1",
114115
"@types/jest": "^29.5.12",
115-
"@types/react": "^18.2.55",
116+
"@types/react": "^18.2.57",
116117
"@types/react-dom": "^18.2.19",
117118
"jsdom": "^24.0.0",
118119
"lint-staged": "^15.2.2",
@@ -122,9 +123,9 @@
122123
"react-dom": "^18.2.0",
123124
"simple-git-hooks": "^2.9.0",
124125
"size-limit": "^11.0.2",
125-
"tsup": "^8.0.1",
126+
"tsup": "^8.0.2",
126127
"typescript": "^5.3.3",
127-
"vitest": "^1.2.2"
128+
"vitest": "^1.3.1"
128129
},
129130
"peerDependenciesMeta": {
130131
"react-dom": {

0 commit comments

Comments
 (0)