From 6b6a3b23bcf3bddc38797188ff09a8db033caeda Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Sat, 28 Dec 2013 11:39:01 -0500 Subject: [PATCH 1/2] Adds a less plugin. --- package-overrides/github/less/less.js@1.5.1.json | 12 ++++++++++++ registry.json | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 package-overrides/github/less/less.js@1.5.1.json diff --git a/package-overrides/github/less/less.js@1.5.1.json b/package-overrides/github/less/less.js@1.5.1.json new file mode 100644 index 0000000..4450e7e --- /dev/null +++ b/package-overrides/github/less/less.js@1.5.1.json @@ -0,0 +1,12 @@ +{ + "main": "dist/less-1.5.1", + "format": "global", + "shim": { + "dist/less-1.5.1": { + "exports": "less" + } + }, + "buildConfig": { + "uglify": true + } +} diff --git a/registry.json b/registry.json index e079f11..62a90d1 100644 --- a/registry.json +++ b/registry.json @@ -44,5 +44,6 @@ "typeahead": "github:twitter/typeahead.js", "three.js": "cdnjs:three.js", "underscore": "npm:underscore", - "webfont": "cdnjs:webfont" + "webfont": "cdnjs:webfont", + "less": "github:matthewp/plugin-less", } From 2ab8f03ee8925fde7b32e4794a839d6bddbdcdbf Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Sat, 28 Dec 2013 14:07:18 -0500 Subject: [PATCH 2/2] Updated to restrict files included. Also moved the spot in the registry to keep it alphabetical. --- package-overrides/github/less/less.js@1.5.1.json | 1 + registry.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-overrides/github/less/less.js@1.5.1.json b/package-overrides/github/less/less.js@1.5.1.json index 4450e7e..39b2ae0 100644 --- a/package-overrides/github/less/less.js@1.5.1.json +++ b/package-overrides/github/less/less.js@1.5.1.json @@ -1,6 +1,7 @@ { "main": "dist/less-1.5.1", "format": "global", + "files": ["dist/less-1.5.1.js"], "shim": { "dist/less-1.5.1": { "exports": "less" diff --git a/registry.json b/registry.json index 62a90d1..ce69e31 100644 --- a/registry.json +++ b/registry.json @@ -26,6 +26,7 @@ "jquery-pjax": "github:defunkt/jquery-pjax", "jquery.cookie": "github:carhartl/jquery-cookie", "kickstrap": "github:ajkochanowicz/Kickstrap", + "less": "github:matthewp/plugin-less", "lodash": "npm:lodash-node", "marionette": "github:marionettejs/backbone.marionette", "masonry": "github:desandro/masonry", @@ -44,6 +45,5 @@ "typeahead": "github:twitter/typeahead.js", "three.js": "cdnjs:three.js", "underscore": "npm:underscore", - "webfont": "cdnjs:webfont", - "less": "github:matthewp/plugin-less", + "webfont": "cdnjs:webfont" }