From ffa240dfdeee4e904f88d218e6ab38af43c61e27 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 16 Jan 2018 22:50:33 -0500 Subject: [PATCH] Add Chart.js to Composer --- composer.json | 3 ++- composer.lock | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c39ec9458..77322add0 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,8 @@ "fxp/composer-asset-plugin": "~1.3", "bower-asset/base64": "^1.0", "npm-asset/jquery": "^1.11.2", - "npm-asset/jquery-colorbox": "^1.6" + "npm-asset/jquery-colorbox": "^1.6", + "bower-asset/Chart-js": "^2.7" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index 003bef586..ce9741ae1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,40 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "228247829bf46d313ca451f94b87c7ef", + "content-hash": "6cf3b635594e443a7268a3bd9100d62d", "packages": [ + { + "name": "bower-asset/Chart-js", + "version": "v2.7.1", + "source": { + "type": "git", + "url": "https://github.com/chartjs/Chart.js.git", + "reference": "0fead21939b92c15093c1b7d5ee2627fb5900fff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/chartjs/Chart.js/zipball/0fead21939b92c15093c1b7d5ee2627fb5900fff", + "reference": "0fead21939b92c15093c1b7d5ee2627fb5900fff", + "shasum": "" + }, + "type": "bower-asset-library", + "extra": { + "bower-asset-main": "./dist/Chart.js", + "bower-asset-ignore": [ + ".github", + ".codeclimate.yml", + ".gitignore", + ".npmignore", + ".travis.yml", + "scripts" + ] + }, + "license": [ + "MIT" + ], + "description": "Simple HTML5 charts using the canvas element.", + "time": "2017-10-28T15:01:52+00:00" + }, { "name": "bower-asset/base64", "version": "1.0.1",