Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 6b6d888

Browse files
committed
Force chart.js version - otherwise chart.js 2 is getting installed
chart.js 2 beta is released on npm, so when i install react-chartjs, chart.js v2 is getting installed as peer dependency. force it to v1.
1 parent 2aeca03 commit 6b6d888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"peerDependencies": {
3030
"react": "*",
3131
"react-dom": "*",
32-
"chart.js": "*"
32+
"chart.js": "^1.1.1"
3333
},
3434
"devDependencies": {
3535
"uglify-js": "^2.4.16",

0 commit comments

Comments
 (0)