11{
22 "name" : " react-use-intercom" ,
33 "author" : " devrnt" ,
4- "module" : " dist/index.mjs" ,
4+ "main" : " dist/index.cjs" ,
5+ "module" : " dist/index.js" ,
56 "description" : " React Intercom integration without the hassle, driven by hooks." ,
67 "homepage" : " https://github.com/devrnt/react-use-intercom#readme" ,
78 "version" : " 5.4.1" ,
89 "license" : " MIT" ,
9- "main" : " dist/index.js" ,
1010 "types" : " dist/index.d.ts" ,
1111 "sideEffects" : false ,
12+ "type" : " module" ,
1213 "repository" : {
1314 "type" : " git" ,
14- "url" : " https://github.com/devrnt/react-use-intercom"
15+ "url" : " git+ https://github.com/devrnt/react-use-intercom.git "
1516 },
1617 "bugs" : {
1718 "url" : " https://github.com/devrnt/react-use-intercom/issues"
2122 ],
2223 "exports" : {
2324 "." : {
24- "types" : " ./dist/index.d.ts" ,
25- "require" : " ./dist/index.js" ,
26- "import" : " ./dist/index.mjs" ,
27- "browser" : " ./dist/index.mjs"
25+ "browser" : " ./dist/index.js" ,
26+ "require" : {
27+ "types" : " ./dist/index.d.cts" ,
28+ "default" : " ./dist/index.cjs"
29+ },
30+ "import" : {
31+ "types" : " ./dist/index.d.ts" ,
32+ "default" : " ./dist/index.js"
33+ }
2834 }
2935 },
3036 "keywords" : [
4854 "test:coverage" : " jest --coverage" ,
4955 "lint" : " eslint src test" ,
5056 "lint:fix" : " eslint --fix" ,
51- "bundlesize" : " pnpm build && size-limit"
57+ "bundlesize" : " pnpm build && size-limit" ,
58+ "publint" : " publint"
5259 },
5360 "peerDependencies" : {
5461 "react" : " >=16.8.0" ,
5562 "react-dom" : " >=16.8.0"
5663 },
5764 "size-limit" : [
5865 {
59- "path" : " ./dist/index.js " ,
66+ "path" : " ./dist/index.cjs " ,
6067 "limit" : " 3 kB"
6168 },
6269 {
63- "path" : " ./dist/index.mjs " ,
70+ "path" : " ./dist/index.js " ,
6471 "limit" : " 3 kB"
6572 }
6673 ],
7784 "eslint-plugin-simple-import-sort" : " ^10.0.0" ,
7885 "jest" : " ^29.4.1" ,
7986 "jest-environment-jsdom" : " ^29.4.1" ,
87+ "publint" : " ^0.3.4" ,
8088 "react" : " ^18.2.0" ,
8189 "react-dom" : " ^18.2.0" ,
8290 "react-test-renderer" : " ^18.2.0" ,
8795 "tsup" : " ^8.3.6" ,
8896 "typescript" : " ^5.7.3"
8997 }
90- }
98+ }
0 commit comments