1
1
{
2
2
"name" : " react-use-intercom" ,
3
3
"author" : " devrnt" ,
4
- "module" : " dist/index.mjs" ,
4
+ "main" : " dist/index.cjs" ,
5
+ "module" : " dist/index.js" ,
5
6
"description" : " React Intercom integration without the hassle, driven by hooks." ,
6
7
"homepage" : " https://github.com/devrnt/react-use-intercom#readme" ,
7
8
"version" : " 5.4.1" ,
8
9
"license" : " MIT" ,
9
- "main" : " dist/index.js" ,
10
10
"types" : " dist/index.d.ts" ,
11
11
"sideEffects" : false ,
12
+ "type" : " module" ,
12
13
"repository" : {
13
14
"type" : " git" ,
14
- "url" : " https://github.com/devrnt/react-use-intercom"
15
+ "url" : " git+ https://github.com/devrnt/react-use-intercom.git "
15
16
},
16
17
"bugs" : {
17
18
"url" : " https://github.com/devrnt/react-use-intercom/issues"
21
22
],
22
23
"exports" : {
23
24
"." : {
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
+ }
28
34
}
29
35
},
30
36
"keywords" : [
48
54
"test:coverage" : " jest --coverage" ,
49
55
"lint" : " eslint src test" ,
50
56
"lint:fix" : " eslint --fix" ,
51
- "bundlesize" : " pnpm build && size-limit"
57
+ "bundlesize" : " pnpm build && size-limit" ,
58
+ "publint" : " publint"
52
59
},
53
60
"peerDependencies" : {
54
61
"react" : " >=16.8.0" ,
55
62
"react-dom" : " >=16.8.0"
56
63
},
57
64
"size-limit" : [
58
65
{
59
- "path" : " ./dist/index.js " ,
66
+ "path" : " ./dist/index.cjs " ,
60
67
"limit" : " 3 kB"
61
68
},
62
69
{
63
- "path" : " ./dist/index.mjs " ,
70
+ "path" : " ./dist/index.js " ,
64
71
"limit" : " 3 kB"
65
72
}
66
73
],
77
84
"eslint-plugin-simple-import-sort" : " ^10.0.0" ,
78
85
"jest" : " ^29.4.1" ,
79
86
"jest-environment-jsdom" : " ^29.4.1" ,
87
+ "publint" : " ^0.3.4" ,
80
88
"react" : " ^18.2.0" ,
81
89
"react-dom" : " ^18.2.0" ,
82
90
"react-test-renderer" : " ^18.2.0" ,
87
95
"tsup" : " ^8.3.6" ,
88
96
"typescript" : " ^5.7.3"
89
97
}
90
- }
98
+ }
0 commit comments