]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Added Component(1) support 715/head
authorAnthony Short <antshort@gmail.com>
Sun, 7 Apr 2013 07:09:36 +0000 (17:09 +1000)
committerAnthony Short <antshort@gmail.com>
Sun, 7 Apr 2013 07:09:36 +0000 (17:09 +1000)
By adding a component.json file we can add Moment as a dependency in Component

component.json [new file with mode: 0644]

diff --git a/component.json b/component.json
new file mode 100644 (file)
index 0000000..fa6b423
--- /dev/null
@@ -0,0 +1,7 @@
+{
+  "name": "moment",
+  "version": "2.0.0",
+  "scripts": ["moment.js"],
+  "main": "moment.js",
+  "description": "Parse, validate, manipulate, and display dates in javascript."
+}