File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 32
32
" src/"
33
33
],
34
34
"scripts" : {
35
- "build" : " rollup -c"
35
+ "build" : " rollup -c --bundleConfigAsCjs "
36
36
},
37
37
"devDependencies" : {
38
38
"@rollup/plugin-commonjs" : " ^23.0.2" ,
Original file line number Diff line number Diff line change 35
35
" src/"
36
36
],
37
37
"scripts" : {
38
- "build" : " rollup -c"
38
+ "build" : " rollup -c --bundleConfigAsCjs "
39
39
},
40
40
"dependencies" : {
41
41
"@coreui/chartjs" : " ^3.0.0" ,
42
- "chart.js" : " ^ 3.9.1"
42
+ "chart.js" : " 3.9.1"
43
43
},
44
44
"devDependencies" : {
45
45
"@rollup/plugin-commonjs" : " ^23.0.2" ,
48
48
"@testing-library/jest-dom" : " ^5.16.5" ,
49
49
"@testing-library/react" : " ^13.4.0" ,
50
50
"@types/lodash" : " ^4.14.181" ,
51
+ "@types/react" : " 18.0.25" ,
52
+ "@types/react-dom" : " ^18.0.6" ,
51
53
"classnames" : " ^2.3.2" ,
52
54
"lodash" : " ^4.17.21" ,
53
55
"prop-types" : " ^15.8.1" ,
56
+ "react" : " ^18.2.0" ,
57
+ "react-dom" : " ^18.2.0" ,
54
58
"rollup" : " ^3.4.0" ,
55
59
"typescript" : " ^4.9.3"
56
60
},
Original file line number Diff line number Diff line change 27
27
"module" : " dist/index.es.js" ,
28
28
"jsnext:main" : " dist/index.es.js" ,
29
29
"types" : " dist/index.d.ts" ,
30
- "type" : " module" ,
31
30
"files" : [
32
31
" dist/" ,
33
32
" src/"
34
33
],
35
34
"scripts" : {
36
- "build" : " rollup -c"
35
+ "build" : " rollup -c --bundleConfigAsCjs "
37
36
},
38
37
"devDependencies" : {
39
38
"@popperjs/core" : " ^2.11.5" ,
You can’t perform that action at this time.
0 commit comments