From c4977b15799a8bd0e702bbbd150f70a5fa4c354b Mon Sep 17 00:00:00 2001 From: nulltask Date: Wed, 30 May 2012 02:33:19 +0900 Subject: [PATCH] divided assets.json for each modules --- assets.json | 364 ------------------------------------ assets/backbone.json | 7 + assets/blueprint.json | 18 ++ assets/bootstrap-less.json | 16 ++ assets/bootstrap.json | 7 + assets/caustic.json | 6 + assets/d3.behavior.json | 9 + assets/d3.chart.json | 9 + assets/d3.csv.json | 9 + assets/d3.geo.json | 9 + assets/d3.geom.json | 9 + assets/d3.json | 7 + assets/d3.layout.json | 9 + assets/d3.time.json | 9 + assets/date.js.json | 6 + assets/eventemitter2.json | 6 + assets/fidel.json | 7 + assets/g.bar.json | 10 + assets/g.dot.json | 10 + assets/g.line.json | 10 + assets/g.pie.json | 10 + assets/g.raphael.json | 10 + assets/iscroll-lite.json | 6 + assets/iscroll.json | 6 + assets/jade.json | 6 + assets/jquery-mobile.json | 10 + assets/jquery.json | 8 + assets/jquery.validate.json | 10 + assets/live.js.json | 6 + assets/modernizr.json | 6 + assets/mootools.json | 8 + assets/move.js.json | 6 + assets/mustache.js.json | 6 + assets/pagie.json | 7 + assets/polymaps.json | 6 + assets/processing.js.json | 7 + assets/prototype.json | 7 + assets/protovis.json | 6 + assets/raphael.json | 7 + assets/resistance.json | 7 + assets/script.js.json | 6 + assets/str.js.json | 6 + assets/superagent.json | 6 + assets/three.js.json | 7 + assets/underscore.json | 7 + assets/yepnope.json | 6 + assets/zepto.json | 6 + bin/asset | 18 +- package.json | 2 +- 49 files changed, 378 insertions(+), 368 deletions(-) delete mode 100644 assets.json create mode 100644 assets/backbone.json create mode 100644 assets/blueprint.json create mode 100644 assets/bootstrap-less.json create mode 100644 assets/bootstrap.json create mode 100644 assets/caustic.json create mode 100644 assets/d3.behavior.json create mode 100644 assets/d3.chart.json create mode 100644 assets/d3.csv.json create mode 100644 assets/d3.geo.json create mode 100644 assets/d3.geom.json create mode 100644 assets/d3.json create mode 100644 assets/d3.layout.json create mode 100644 assets/d3.time.json create mode 100644 assets/date.js.json create mode 100644 assets/eventemitter2.json create mode 100644 assets/fidel.json create mode 100644 assets/g.bar.json create mode 100644 assets/g.dot.json create mode 100644 assets/g.line.json create mode 100644 assets/g.pie.json create mode 100644 assets/g.raphael.json create mode 100644 assets/iscroll-lite.json create mode 100644 assets/iscroll.json create mode 100644 assets/jade.json create mode 100644 assets/jquery-mobile.json create mode 100644 assets/jquery.json create mode 100644 assets/jquery.validate.json create mode 100644 assets/live.js.json create mode 100644 assets/modernizr.json create mode 100644 assets/mootools.json create mode 100644 assets/move.js.json create mode 100644 assets/mustache.js.json create mode 100644 assets/pagie.json create mode 100644 assets/polymaps.json create mode 100644 assets/processing.js.json create mode 100644 assets/prototype.json create mode 100644 assets/protovis.json create mode 100644 assets/raphael.json create mode 100644 assets/resistance.json create mode 100644 assets/script.js.json create mode 100644 assets/str.js.json create mode 100644 assets/superagent.json create mode 100644 assets/three.js.json create mode 100644 assets/underscore.json create mode 100644 assets/yepnope.json create mode 100644 assets/zepto.json diff --git a/assets.json b/assets.json deleted file mode 100644 index d2af5bb..0000000 --- a/assets.json +++ /dev/null @@ -1,364 +0,0 @@ -{ - "blueprint": { - "base": "https://github.com/joshuaclayton/blueprint-css/raw/v{version}/blueprint", - "description": "css framework", - "tags": ["css"], - "files": [ - "ie.css", - "print.css", - "screen.css", - "src/forms.css", - "src/grid.css", - "src/grid.png", - "src/ie.css", - "src/print.css", - "src/reset.css", - "src/typography.css" - ], - "version": "1.0" - }, - "bootstrap": { - "url": "https://github.com/twitter/bootstrap/raw/v{version}/bootstrap-{version}.css", - "compressed": "bootstrap-{version}.min.css", - "description": "CSS toolkit from Twitter", - "tags": ["css", "twitter"], - "version": "1.1.1" - }, - "bootstrap-less": { - "base": "https://github.com/twitter/bootstrap/raw/v{version}", - "description": "CSS toolkit from Twitter (LESS Source)", - "tags": ["css", "twitter", "less"], - "files": [ - "lib/bootstrap.less", - "lib/forms.less", - "lib/patterns.less", - "lib/preboot.less", - "lib/reset.less", - "lib/scaffolding.less", - "lib/tables.less", - "lib/type.less" - ], - "version": "1.1.1" - }, - "eventemitter2": { - "url": "https://github.com/hij1nx/EventEmitter2/blob/v{version}/lib/eventemitter2.js", - "description": "nodejs-style event emitter with namespaces, wildcards, TTL etc", - "tags": ["events", "emitter", "node"], - "version": "0.4.1" - }, - "superagent": { - "url": "https://raw.github.com/visionmedia/superagent/{version}/superagent.js", - "description": "Ajax with less suck", - "tags": ["request", "ajax"], - "version": "0.1.1" - }, - "caustic": { - "url": "https://github.com/visionmedia/caustic/raw/{version}/build/caustic.js", - "description": "Experimental view system for jQuery", - "tags": ["templates", "view"], - "version": "0.0.5" - }, - "move.js": { - "url": "https://github.com/visionmedia/move.js/raw/{version}/move.js", - "description": "CSS3 JavaScript animation framework", - "tags": ["css", "animation"], - "version": "0.1.1" - }, - "jade": { - "url": "https://github.com/visionmedia/jade/raw/{version}/jade.js", - "description": "jade template engine", - "tags": ["template"], - "version": "0.10.4" - }, - "three.js": { - "url": "https://github.com/mrdoob/three.js/raw/r{version}/build/Three.js", - "description": "3d javascript engine", - "tags": ["js", "3d"], - "filename": "three.js", - "version": "42" - }, - "underscore": { - "url": "https://github.com/documentcloud/underscore/raw/{version}/underscore.js", - "description": "javascript's utility belt", - "compressed": "underscore-min.js", - "tags": ["js", "utilities"], - "version": "1.1.7" - }, - "mootools": { - "url": "http://mootools.net/download/get/mootools-core-{version}-full-compat.js", - "description": "mootools core javascript framework", - "compressed": "mootools-core-{version}-full-compat-yc.js", - "filename": "mootools.js", - "tags": ["js"], - "version": "1.3.1" - }, - "raphael": { - "url": "https://github.com/DmitryBaranovskiy/raphael/raw/v{version}/raphael.js", - "description": "raphael vector library", - "compressed": "raphael-min.js", - "tags": ["js"], - "version": "1.4.7" - }, - "g.raphael": { - "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.raphael.js", - "description": "charting for raphael", - "compressed": "g.raphael-min.js", - "tags": ["js", "raphael"], - "version": "0.4.1", - "dependencies": { - "raphael": "1.4.7" - } - }, - "g.bar": { - "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.bar.js", - "description": "bar charting for raphael", - "compressed": "g.bar-min.js", - "tags": ["js", "raphael"], - "version": "0.4.1", - "dependencies": { - "g.raphael": "0.4.1" - } - }, - "g.dot": { - "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.dot.js", - "description": "dot charting for raphael", - "compressed": "g.dot-min.js", - "tags": ["js", "raphael"], - "version": "0.4.1", - "dependencies": { - "g.raphael": "0.4.1" - } - }, - "g.line": { - "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.line.js", - "description": "line charting for raphael", - "compressed": "g.line-min.js", - "tags": ["js", "raphael"], - "version": "0.4.1", - "dependencies": { - "g.raphael": "0.4.1" - } - }, - "g.pie": { - "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.pie.js", - "description": "pie charting for raphael", - "compressed": "g.pie-min.js", - "tags": ["js", "raphael"], - "version": "0.4.1", - "dependencies": { - "g.raphael": "0.4.1" - } - }, - "jquery": { - "url": "http://code.jquery.com/jquery-{version}.js", - "description": "jquery core framework", - "compressed": "jquery-{version}.min.js", - "tags": ["js", "jquery"], - "filename": "jquery.js", - "version": "1.6.2" - }, - "jquery.validate": { - "url":"http://ajax.aspnetcdn.com/ajax/jquery.validate/{version}/jquery.validate.js", - "compressed": "jquery.validate.min.js", - "description": "form validation for jquery", - "tags": ["js", "jquery"], - "version": "1.8", - "dependencies": { - "jquery": "1.5.1" - } - }, - "prototype": { - "url": "http://prototypejs.org/assets/2008/9/29/prototype-{version}.js", - "description": "prototype core framework", - "filename": "prototype.js", - "tags": ["js"], - "version": "1.6.0.3" - }, - "script.js": { - "url": "https://github.com/ded/script.js/blob/master/dist/script.js", - "description": "Asyncronous JavaScript loader and dependency manager", - "tags": ["js"], - "version": "1.3" - }, - "jquery-mobile": { - "url": "http://code.jquery.com/mobile/{version}/jquery.mobile-{version}.js", - "description": "touch-optimized web framework for smartphones & tablets", - "filename": "jquery.mobile.js", - "tags": ["js", "jquery"], - "version": "1.0a4", - "dependencies": { - "jquery": "1.5.1" - } - }, - "processing.js": { - "url": "http://cloud.github.com/downloads/processing-js/processing-js/processing-{version}.js", - "description": "a port of the Processing visualization language", - "filename": "processing.js", - "tags": ["js"], - "version": "1.1.0" - }, - "d3": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.js", - "description": "A JavaScript visualization library for HTML and SVG.", - "filename": "d3.js", - "tags": ["js", "svg"], - "version": "1.17.0" - }, - "d3.behavior": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.behavior.js", - "description": "Event module for d3. A JavaScript visualization library for HTML and SVG.", - "tags": ["js", "svg"], - "version": "1.11.0", - "dependencies": { - "d3": "1.17.0" - } - }, - "d3.chart": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.chart.js", - "description": "Chart module for d3. A JavaScript visualization library for HTML and SVG.", - "tags": ["js", "svg"], - "version": "1.11.0", - "dependencies": { - "d3": "1.17.0" - } - }, - "d3.csv": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.csv.js", - "description": "CSV parser module for d3. A JavaScript visualization library for HTML and SVG.", - "tags": ["js", "svg"], - "version": "1.11.0", - "dependencies": { - "d3": "1.17.0" - } - }, - "d3.geo": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.geo.js", - "description": "Geo module for d3. A JavaScript visualization library for HTML and SVG.", - "tags": ["js", "svg"], - "version": "1.11.0", - "dependencies": { - "d3": "1.17.0" - } - }, - "d3.geom": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.geom.js", - "description": "Geometry module for d3. A JavaScript visualization library for HTML and SVG.", - "tags": ["js", "svg"], - "version": "1.11.0", - "dependencies": { - "d3": "1.17.0" - } - }, - "d3.layout": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.layout.js", - "description": "Layout module for d3. A JavaScript visualization library for HTML and SVG.", - "tags": ["js", "svg"], - "version": "1.11.0", - "dependencies": { - "d3": "1.17.0" - } - }, - "d3.time": { - "url": "https://github.com/mbostock/d3/raw/v{version}/d3.time.js", - "description": "Time module for d3. A JavaScript visualization library for HTML and SVG.", - "tags": ["js", "svg"], - "version": "1.11.0", - "dependencies": { - "d3": "1.17.0" - } - }, - "protovis": { - "url": "https://github.com/mbostock/protovis/raw/v{version}/protovis.js", - "description": "A visualization toolkit for JavaScript using SVG.", - "tags": ["js", "svg"], - "version": "3.3.1" - }, - "polymaps": { - "url": "https://github.com/simplegeo/polymaps/raw/v{version}/polymaps.js", - "description": "Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.", - "tags": ["js", "maps", "mapping"], - "version": "2.5.0" - }, - "date.js": { - "url": "http://datejs.googlecode.com/files/date.js", - "description": "Datejs is an open source JavaScript Date library for parsing, formatting and processing.", - "tags": ["js", "date", "time"], - "version": "1.0 Alpha-1" - }, - "backbone": { - "url": "https://github.com/documentcloud/backbone/raw/{version}/backbone.js", - "compressed": "backbone-min.js", - "description": "Backbone supplies structure to Javascript Apps by providing models, views, collections, and events", - "tags": ["js"], - "version": "0.5.1" - }, - "zepto": { - "url": "https://github.com/madrobby/zepto/raw/v{version}/src/zepto.js", - "description": "zepto.js is a minimalist inlinable framework for mobile WebKit browsers, with a jQuery-like chaining syntax", - "tags": ["js"], - "version": "0.5" - }, - "iscroll": { - "url": "https://github.com/cubiq/iscroll/raw/master/src/iscroll.js", - "description": "Hardware accelerated scroll for mobile webkit", - "tags": ["js"], - "version": "4.0" - }, - "iscroll-lite": { - "url": "https://github.com/cubiq/iscroll/raw/master/src/iscroll-lite.js", - "description": "Hardware accelerated scroll for mobile webkit", - "tags": ["js"], - "version": "4.0" - }, - "modernizr": { - "url": "https://github.com/Modernizr/Modernizr/raw/v{version}/modernizr.js", - "description": "Feature detection to test browsers against upcoming features", - "tags": ["js", "css", "detection"], - "version": "1.7" - }, - "yepnope": { - "url": "https://github.com/SlexAxton/yepnope.js/raw/v{version}/yepnope.js", - "description": "Conditional loader for polyfills", - "tags": ["js", "detection"], - "version": "1.0.1" - }, - "live.js": { - "url": "http://livejs.com/live.js", - "description": "Live.js makes sure you're always looking at the latest version of the page you're working on, whether you're writing HTML, CSS or Javascript", - "tags": ["js"], - "version": "3.0" - }, - "fidel": { - "url": "https://raw.github.com/jgallen23/fidel/master/dist/fidel.js", - "compressed": "fidel.min.js", - "description": "Fidel is a simple, lightweight ui controller library", - "tags": ["js"], - "version": "1.1.2" - }, - "str.js": { - "url": "https://raw.github.com/jgallen23/str.js/master/str.js", - "description": "A string utility library", - "tags": ["js", "string", "template", "format"], - "version": "1.0.3" - }, - "resistance": { - "url": "https://raw.github.com/jgallen23/resistance/master/dist/resistance.js", - "compressed": "resistance.min.js", - "description": "A simple async flow control library", - "tags": ["js", "flow", "async"], - "version": "1.0.1" - }, - "pagie": { - "url": "https://raw.github.com/jgallen23/pagie/master/pagie.js", - "compressed": "pagie.min.js", - "description": "A simple pagination class", - "tags": ["js", "pagination"], - "version": "0.0.1" - }, - "mustache.js": { - "url": "https://raw.github.com/janl/mustache.js/{version}/mustache.js", - "description": "Minimal templating with {{mustaches}} in JavaScript", - "version": "0.3.0", - "tags": ["js", "templates", "templating"] - } -} diff --git a/assets/backbone.json b/assets/backbone.json new file mode 100644 index 0000000..aca0fb8 --- /dev/null +++ b/assets/backbone.json @@ -0,0 +1,7 @@ +{ + "url": "https://github.com/documentcloud/backbone/raw/{version}/backbone.js", + "compressed": "backbone-min.js", + "description": "Backbone supplies structure to Javascript Apps by providing models, views, collections, and events", + "tags": [ "js" ], + "version": "0.5.1" +} diff --git a/assets/blueprint.json b/assets/blueprint.json new file mode 100644 index 0000000..d758cb8 --- /dev/null +++ b/assets/blueprint.json @@ -0,0 +1,18 @@ +{ + "base": "https://github.com/joshuaclayton/blueprint-css/raw/v{version}/blueprint", + "description": "css framework", + "tags": [ "css" ], + "files": [ + "ie.css", + "print.css", + "screen.css", + "src/forms.css", + "src/grid.css", + "src/grid.png", + "src/ie.css", + "src/print.css", + "src/reset.css", + "src/typography.css" + ], + "version": "1.0" +} diff --git a/assets/bootstrap-less.json b/assets/bootstrap-less.json new file mode 100644 index 0000000..0fff0fa --- /dev/null +++ b/assets/bootstrap-less.json @@ -0,0 +1,16 @@ +{ + "base": "https://github.com/twitter/bootstrap/raw/v{version}", + "description": "CSS toolkit from Twitter (LESS Source)", + "tags": [ "css", "twitter", "less" ], + "files": [ + "lib/bootstrap.less", + "lib/forms.less", + "lib/patterns.less", + "lib/preboot.less", + "lib/reset.less", + "lib/scaffolding.less", + "lib/tables.less", + "lib/type.less" + ], + "version": "1.1.1" +} diff --git a/assets/bootstrap.json b/assets/bootstrap.json new file mode 100644 index 0000000..80ac3a0 --- /dev/null +++ b/assets/bootstrap.json @@ -0,0 +1,7 @@ +{ + "url": "https://github.com/twitter/bootstrap/raw/v{version}/bootstrap-{version}.css", + "compressed": "bootstrap-{version}.min.css", + "description": "CSS toolkit from Twitter", + "tags": [ "css", "twitter" ], + "version": "1.1.1" +} diff --git a/assets/caustic.json b/assets/caustic.json new file mode 100644 index 0000000..110c084 --- /dev/null +++ b/assets/caustic.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/visionmedia/caustic/raw/{version}/build/caustic.js", + "description": "Experimental view system for jQuery", + "tags": [ "templates", "view" ], + "version": "0.0.5" +} diff --git a/assets/d3.behavior.json b/assets/d3.behavior.json new file mode 100644 index 0000000..493528a --- /dev/null +++ b/assets/d3.behavior.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.behavior.js", + "description": "Event module for d3. A JavaScript visualization library for HTML and SVG.", + "tags": [ "js", "svg" ], + "version": "1.11.0", + "dependencies": { + "d3": "1.17.0" + } +} diff --git a/assets/d3.chart.json b/assets/d3.chart.json new file mode 100644 index 0000000..390a753 --- /dev/null +++ b/assets/d3.chart.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.chart.js", + "description": "Chart module for d3. A JavaScript visualization library for HTML and SVG.", + "tags": [ "js", "svg" ], + "version": "1.11.0", + "dependencies": { + "d3": "1.17.0" + } +} diff --git a/assets/d3.csv.json b/assets/d3.csv.json new file mode 100644 index 0000000..3d69d3c --- /dev/null +++ b/assets/d3.csv.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.csv.js", + "description": "CSV parser module for d3. A JavaScript visualization library for HTML and SVG.", + "tags": [ "js", "svg" ], + "version": "1.11.0", + "dependencies": { + "d3": "1.17.0" + } +} diff --git a/assets/d3.geo.json b/assets/d3.geo.json new file mode 100644 index 0000000..99b2934 --- /dev/null +++ b/assets/d3.geo.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.geo.js", + "description": "Geo module for d3. A JavaScript visualization library for HTML and SVG.", + "tags": [ "js", "svg" ], + "version": "1.11.0", + "dependencies": { + "d3": "1.17.0" + } +} diff --git a/assets/d3.geom.json b/assets/d3.geom.json new file mode 100644 index 0000000..54a06b4 --- /dev/null +++ b/assets/d3.geom.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.geom.js", + "description": "Geometry module for d3. A JavaScript visualization library for HTML and SVG.", + "tags": [ "js", "svg" ], + "version": "1.11.0", + "dependencies": { + "d3": "1.17.0" + } +} diff --git a/assets/d3.json b/assets/d3.json new file mode 100644 index 0000000..8acfed6 --- /dev/null +++ b/assets/d3.json @@ -0,0 +1,7 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.js", + "description": "A JavaScript visualization library for HTML and SVG.", + "filename": "d3.js", + "tags": [ "js", "svg" ], + "version": "1.17.0" +} diff --git a/assets/d3.layout.json b/assets/d3.layout.json new file mode 100644 index 0000000..3d11657 --- /dev/null +++ b/assets/d3.layout.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.layout.js", + "description": "Layout module for d3. A JavaScript visualization library for HTML and SVG.", + "tags": [ "js", "svg" ], + "version": "1.11.0", + "dependencies": { + "d3": "1.17.0" + } +} diff --git a/assets/d3.time.json b/assets/d3.time.json new file mode 100644 index 0000000..85113ae --- /dev/null +++ b/assets/d3.time.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/mbostock/d3/raw/v{version}/d3.time.js", + "description": "Time module for d3. A JavaScript visualization library for HTML and SVG.", + "tags": [ "js", "svg" ], + "version": "1.11.0", + "dependencies": { + "d3": "1.17.0" + } +} diff --git a/assets/date.js.json b/assets/date.js.json new file mode 100644 index 0000000..8dc61bc --- /dev/null +++ b/assets/date.js.json @@ -0,0 +1,6 @@ +{ + "url": "http://datejs.googlecode.com/files/date.js", + "description": "Datejs is an open source JavaScript Date library for parsing, formatting and processing.", + "tags": [ "js", "date", "time" ], + "version": "1.0 Alpha-1" +} diff --git a/assets/eventemitter2.json b/assets/eventemitter2.json new file mode 100644 index 0000000..9e5628a --- /dev/null +++ b/assets/eventemitter2.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/hij1nx/EventEmitter2/blob/v{version}/lib/eventemitter2.js", + "description": "nodejs-style event emitter with namespaces, wildcards, TTL etc", + "tags": [ "events", "emitter", "node" ], + "version": "0.4.1" +} diff --git a/assets/fidel.json b/assets/fidel.json new file mode 100644 index 0000000..86aa16f --- /dev/null +++ b/assets/fidel.json @@ -0,0 +1,7 @@ +{ + "url": "https://raw.github.com/jgallen23/fidel/master/dist/fidel.js", + "compressed": "fidel.min.js", + "description": "Fidel is a simple, lightweight ui controller library", + "tags": [ "js" ], + "version": "1.1.2" +} diff --git a/assets/g.bar.json b/assets/g.bar.json new file mode 100644 index 0000000..d251d16 --- /dev/null +++ b/assets/g.bar.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.bar.js", + "description": "bar charting for raphael", + "compressed": "g.bar-min.js", + "tags": [ "js", "raphael" ], + "version": "0.4.1", + "dependencies": { + "g.raphael": "0.4.1" + } +} diff --git a/assets/g.dot.json b/assets/g.dot.json new file mode 100644 index 0000000..5c06807 --- /dev/null +++ b/assets/g.dot.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.dot.js", + "description": "dot charting for raphael", + "compressed": "g.dot-min.js", + "tags": [ "js", "raphael" ], + "version": "0.4.1", + "dependencies": { + "g.raphael": "0.4.1" + } +} diff --git a/assets/g.line.json b/assets/g.line.json new file mode 100644 index 0000000..28b03bf --- /dev/null +++ b/assets/g.line.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.line.js", + "description": "line charting for raphael", + "compressed": "g.line-min.js", + "tags": [ "js", "raphael" ], + "version": "0.4.1", + "dependencies": { + "g.raphael": "0.4.1" + } +} diff --git a/assets/g.pie.json b/assets/g.pie.json new file mode 100644 index 0000000..eb43a6a --- /dev/null +++ b/assets/g.pie.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.pie.js", + "description": "pie charting for raphael", + "compressed": "g.pie-min.js", + "tags": [ "js", "raphael" ], + "version": "0.4.1", + "dependencies": { + "g.raphael": "0.4.1" + } +} diff --git a/assets/g.raphael.json b/assets/g.raphael.json new file mode 100644 index 0000000..22f3bb8 --- /dev/null +++ b/assets/g.raphael.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/DmitryBaranovskiy/g.raphael/raw/v{version}/g.raphael.js", + "description": "charting for raphael", + "compressed": "g.raphael-min.js", + "tags": [ "js", "raphael" ], + "version": "0.4.1", + "dependencies": { + "raphael": "1.4.7" + } +} diff --git a/assets/iscroll-lite.json b/assets/iscroll-lite.json new file mode 100644 index 0000000..83bf29f --- /dev/null +++ b/assets/iscroll-lite.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/cubiq/iscroll/raw/master/src/iscroll-lite.js", + "description": "Hardware accelerated scroll for mobile webkit", + "tags": [ "js" ], + "version": "4.0" +} diff --git a/assets/iscroll.json b/assets/iscroll.json new file mode 100644 index 0000000..832851d --- /dev/null +++ b/assets/iscroll.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/cubiq/iscroll/raw/master/src/iscroll.js", + "description": "Hardware accelerated scroll for mobile webkit", + "tags": [ "js" ], + "version": "4.0" +} diff --git a/assets/jade.json b/assets/jade.json new file mode 100644 index 0000000..f6dcca3 --- /dev/null +++ b/assets/jade.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/visionmedia/jade/raw/{version}/jade.js", + "description": "jade template engine", + "tags": [ "template" ], + "version": "0.10.4" +} diff --git a/assets/jquery-mobile.json b/assets/jquery-mobile.json new file mode 100644 index 0000000..d1294d1 --- /dev/null +++ b/assets/jquery-mobile.json @@ -0,0 +1,10 @@ +{ + "url": "http://code.jquery.com/mobile/{version}/jquery.mobile-{version}.js", + "description": "touch-optimized web framework for smartphones & tablets", + "filename": "jquery.mobile.js", + "tags": [ "js", "jquery" ], + "version": "1.0a4", + "dependencies": { + "jquery": "1.5.1" + } +} diff --git a/assets/jquery.json b/assets/jquery.json new file mode 100644 index 0000000..359310d --- /dev/null +++ b/assets/jquery.json @@ -0,0 +1,8 @@ +{ + "url": "http://code.jquery.com/jquery-{version}.js", + "description": "jquery core framework", + "compressed": "jquery-{version}.min.js", + "tags": [ "js", "jquery" ], + "filename": "jquery.js", + "version": "1.6.2" +} diff --git a/assets/jquery.validate.json b/assets/jquery.validate.json new file mode 100644 index 0000000..0fa73c2 --- /dev/null +++ b/assets/jquery.validate.json @@ -0,0 +1,10 @@ +{ + "url": "http://ajax.aspnetcdn.com/ajax/jquery.validate/{version}/jquery.validate.js", + "compressed": "jquery.validate.min.js", + "description": "form validation for jquery", + "tags": [ "js", "jquery" ], + "version": "1.8", + "dependencies": { + "jquery": "1.5.1" + } +} diff --git a/assets/live.js.json b/assets/live.js.json new file mode 100644 index 0000000..f1bca67 --- /dev/null +++ b/assets/live.js.json @@ -0,0 +1,6 @@ +{ + "url": "http://livejs.com/live.js", + "description": "Live.js makes sure you're always looking at the latest version of the page you're working on, whether you're writing HTML, CSS or Javascript", + "tags": [ "js" ], + "version": "3.0" +} diff --git a/assets/modernizr.json b/assets/modernizr.json new file mode 100644 index 0000000..957b5a7 --- /dev/null +++ b/assets/modernizr.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/Modernizr/Modernizr/raw/v{version}/modernizr.js", + "description": "Feature detection to test browsers against upcoming features", + "tags": [ "js", "css", "detection" ], + "version": "1.7" +} diff --git a/assets/mootools.json b/assets/mootools.json new file mode 100644 index 0000000..ac0319f --- /dev/null +++ b/assets/mootools.json @@ -0,0 +1,8 @@ +{ + "url": "http://mootools.net/download/get/mootools-core-{version}-full-compat.js", + "description": "mootools core javascript framework", + "compressed": "mootools-core-{version}-full-compat-yc.js", + "filename": "mootools.js", + "tags": [ "js" ], + "version": "1.3.1" +} diff --git a/assets/move.js.json b/assets/move.js.json new file mode 100644 index 0000000..08015d6 --- /dev/null +++ b/assets/move.js.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/visionmedia/move.js/raw/{version}/move.js", + "description": "CSS3 JavaScript animation framework", + "tags": [ "css", "animation" ], + "version": "0.1.1" +} diff --git a/assets/mustache.js.json b/assets/mustache.js.json new file mode 100644 index 0000000..d3332d0 --- /dev/null +++ b/assets/mustache.js.json @@ -0,0 +1,6 @@ +{ + "url": "https://raw.github.com/janl/mustache.js/{version}/mustache.js", + "description": "Minimal templating with {{mustaches}} in JavaScript", + "version": "0.3.0", + "tags": [ "js", "templates", "templating" ] +} diff --git a/assets/pagie.json b/assets/pagie.json new file mode 100644 index 0000000..2b705fb --- /dev/null +++ b/assets/pagie.json @@ -0,0 +1,7 @@ +{ + "url": "https://raw.github.com/jgallen23/pagie/master/pagie.js", + "compressed": "pagie.min.js", + "description": "A simple pagination class", + "tags": [ "js", "pagination" ], + "version": "0.0.1" +} diff --git a/assets/polymaps.json b/assets/polymaps.json new file mode 100644 index 0000000..fe0fc7c --- /dev/null +++ b/assets/polymaps.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/simplegeo/polymaps/raw/v{version}/polymaps.js", + "description": "Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.", + "tags": [ "js", "maps", "mapping" ], + "version": "2.5.0" +} diff --git a/assets/processing.js.json b/assets/processing.js.json new file mode 100644 index 0000000..b30fa85 --- /dev/null +++ b/assets/processing.js.json @@ -0,0 +1,7 @@ +{ + "url": "http://cloud.github.com/downloads/processing-js/processing-js/processing-{version}.js", + "description": "a port of the Processing visualization language", + "filename": "processing.js", + "tags": [ "js" ], + "version": "1.1.0" +} diff --git a/assets/prototype.json b/assets/prototype.json new file mode 100644 index 0000000..c151c21 --- /dev/null +++ b/assets/prototype.json @@ -0,0 +1,7 @@ +{ + "url": "http://prototypejs.org/assets/2008/9/29/prototype-{version}.js", + "description": "prototype core framework", + "filename": "prototype.js", + "tags": [ "js" ], + "version": "1.6.0.3" +} diff --git a/assets/protovis.json b/assets/protovis.json new file mode 100644 index 0000000..d2a4fcf --- /dev/null +++ b/assets/protovis.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/mbostock/protovis/raw/v{version}/protovis.js", + "description": "A visualization toolkit for JavaScript using SVG.", + "tags": [ "js", "svg" ], + "version": "3.3.1" +} diff --git a/assets/raphael.json b/assets/raphael.json new file mode 100644 index 0000000..e9bb0f7 --- /dev/null +++ b/assets/raphael.json @@ -0,0 +1,7 @@ +{ + "url": "https://github.com/DmitryBaranovskiy/raphael/raw/v{version}/raphael.js", + "description": "raphael vector library", + "compressed": "raphael-min.js", + "tags": [ "js" ], + "version": "1.4.7" +} diff --git a/assets/resistance.json b/assets/resistance.json new file mode 100644 index 0000000..2c60836 --- /dev/null +++ b/assets/resistance.json @@ -0,0 +1,7 @@ +{ + "url": "https://raw.github.com/jgallen23/resistance/master/dist/resistance.js", + "compressed": "resistance.min.js", + "description": "A simple async flow control library", + "tags": [ "js", "flow", "async" ], + "version": "1.0.1" +} diff --git a/assets/script.js.json b/assets/script.js.json new file mode 100644 index 0000000..56b6a8f --- /dev/null +++ b/assets/script.js.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/ded/script.js/blob/master/dist/script.js", + "description": "Asyncronous JavaScript loader and dependency manager", + "tags": [ "js" ], + "version": "1.3" +} diff --git a/assets/str.js.json b/assets/str.js.json new file mode 100644 index 0000000..bbbf9f0 --- /dev/null +++ b/assets/str.js.json @@ -0,0 +1,6 @@ +{ + "url": "https://raw.github.com/jgallen23/str.js/master/str.js", + "description": "A string utility library", + "tags": [ "js", "string", "template", "format" ], + "version": "1.0.3" +} diff --git a/assets/superagent.json b/assets/superagent.json new file mode 100644 index 0000000..2ec9a25 --- /dev/null +++ b/assets/superagent.json @@ -0,0 +1,6 @@ +{ + "url": "https://raw.github.com/visionmedia/superagent/{version}/superagent.js", + "description": "Ajax with less suck", + "tags": [ "request", "ajax" ], + "version": "0.1.1" +} diff --git a/assets/three.js.json b/assets/three.js.json new file mode 100644 index 0000000..008b5b6 --- /dev/null +++ b/assets/three.js.json @@ -0,0 +1,7 @@ +{ + "url": "https://github.com/mrdoob/three.js/raw/r{version}/build/Three.js", + "description": "3d javascript engine", + "tags": [ "js", "3d" ], + "filename": "three.js", + "version": "42" +} diff --git a/assets/underscore.json b/assets/underscore.json new file mode 100644 index 0000000..49d9aae --- /dev/null +++ b/assets/underscore.json @@ -0,0 +1,7 @@ +{ + "url": "https://github.com/documentcloud/underscore/raw/{version}/underscore.js", + "description": "javascript's utility belt", + "compressed": "underscore-min.js", + "tags": [ "js", "utilities" ], + "version": "1.1.7" +} diff --git a/assets/yepnope.json b/assets/yepnope.json new file mode 100644 index 0000000..2d8b479 --- /dev/null +++ b/assets/yepnope.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/SlexAxton/yepnope.js/raw/v{version}/yepnope.js", + "description": "Conditional loader for polyfills", + "tags": [ "js", "detection" ], + "version": "1.0.1" +} diff --git a/assets/zepto.json b/assets/zepto.json new file mode 100644 index 0000000..2604cd0 --- /dev/null +++ b/assets/zepto.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/madrobby/zepto/raw/v{version}/src/zepto.js", + "description": "zepto.js is a minimalist inlinable framework for mobile WebKit browsers, with a jQuery-like chaining syntax", + "tags": [ "js" ], + "version": "0.5" +} diff --git a/bin/asset b/bin/asset index 64a8280..6a9fc07 100755 --- a/bin/asset +++ b/bin/asset @@ -7,7 +7,9 @@ var asset = require('../') , exec = require('child_process').exec , tty = require('tty') - , fs = require('fs'); + , fs = require('fs') + , basename = require('path').basename + , glob = require('glob'); /** * Arguments. @@ -67,7 +69,7 @@ var config = readJSON(process.cwd() + '/.asset') */ var repo = readJSON(process.env.HOME + '/.assets') - || readJSON(__dirname + '/../assets.json') + || readJSON(__dirname + '/../assets') || {}; // merge config @@ -140,6 +142,7 @@ if (assets.length) { if (!assets.length) abort('asset required'); // install the assets + console.log(); mkdir(options.out, function(err){ if (err) abort(err.message); @@ -326,7 +329,16 @@ function name(asset) { function readJSON(path) { try { - return JSON.parse(fs.readFileSync(path, 'utf8')); + var stat = fs.statSync(path); + if (stat.isDirectory()) { + var json = {}; + glob.sync(path + '/*.json').forEach(function(path) { + json[basename(path, '.json')] = JSON.parse(fs.readFileSync(path, 'utf8')); + }); + return json; + } else { + return JSON.parse(fs.readFileSync(path, 'utf8')); + } } catch (err) { // ignore } diff --git a/package.json b/package.json index 39d2de8..867b41f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ , "description": "Asset manager" , "keywords": ["assets", "javascript", "css", "package manager"] , "author": "TJ Holowaychuk " - , "dependencies": { "request": "1.9.5", "mkdirp": "0.3.x" } + , "dependencies": { "request": "1.9.5", "mkdirp": "0.3.x", "glob": "3.1.x" } , "bin": { "asset": "./bin/asset" } , "main": "index" , "engines": { "node": "0.4.x" }