diff --git a/bower.json b/bower.json index 3aa79ad..f0c15e9 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "angular-color-picker", "description": "Color Picker Directive For AngularJS", - "version": "0.6.4", + "version": "0.6.5", "homepage": "https://github.com/ruhley/angular-color-picker", "repository": { "type": "git", @@ -10,6 +10,9 @@ "authors": [ "ruhley " ], + "contributors": [ + "Benjamin Orozco " + ], "main": [ "angularjs-color-picker.js", "angularjs-color-picker.css" diff --git a/lib/scripts/module.js b/lib/scripts/module.js index 9a5626f..fecb19c 100644 --- a/lib/scripts/module.js +++ b/lib/scripts/module.js @@ -1,3 +1,8 @@ +/* commonjs package manager support (eg. componentjs) */ +if (typeof module !== "undefined" && typeof exports !== "undefined" && module.exports === exports){ + module.exports = 'color.picker'; +} + (function() { 'use strict'; diff --git a/package.json b/package.json index fa3ac94..1c1d64d 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,22 @@ { "name": "angular-color-picker", "description": "Color Picker Directive For AngularJS", - "version": "0.6.4", + "version": "0.6.5", + "main": [ + "angularjs-color-picker.js", + "angularjs-color-picker.css" + ], "dependencies": {}, "repository": { "type": "git", "url": "git://github.com/ruhley/angular-color-picker.git" }, + "authors": [ + "ruhley " + ], + "contributors": [ + "Benjamin Orozco " + ], "devDependencies": { "glob": "~5.0.0", "grunt": "~0.4.5",