From b820aa5fdaf26f7769f9b5b6df68f3c036348b5b Mon Sep 17 00:00:00 2001 From: James Young Date: Tue, 19 Apr 2016 14:03:57 -0400 Subject: [PATCH] Lock in chart.js peer dep to v1.x --- README.md | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 533e352..35b255a 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ npm install --save react-chartjs ``` You must also include [chart.js](https://www.npmjs.com/package/chart.js) and [React](https://www.npmjs.com/package/react) as dependencies. ``` -npm install --save chart.js@^1.1.1 react react-dom +npm install --save chart.js@^1.x react react-dom ``` Example Usage @@ -50,4 +50,3 @@ The ```canvas``` element can be retrieved using ```getCanvas``` and the ```chart * [jhudson8/react-mixin-manager](https://github.com/jhudson8/react-mixin-manager) * [jhudson8/react-backbone](https://github.com/jhudson8/react-backbone) * [jhudson8/react-events](https://github.com/jhudson8/react-events) - diff --git a/package.json b/package.json index 5ba410a..95d2612 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "peerDependencies": { "react": "*", "react-dom": "*", - "chart.js": "*" + "chart.js": "^1.x" }, "devDependencies": { "uglify-js": "^2.4.16",