]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
ignore nonessential files when installing via bower
authorJustin Palmer <justin@github.com>
Tue, 18 Jun 2013 18:28:50 +0000 (11:28 -0700)
committerJustin Palmer <justin@github.com>
Tue, 18 Jun 2013 18:28:50 +0000 (11:28 -0700)
When installing via Bower, we only want to pull down files essential to
the use of moment.js and ignore everything else.  See [ignore]
https://github.com/bower/bower#defining-a-package for more information
on bower ignores.

bower.json

index fa6b423c81078c8cb96c39f1fc80e2ba8b81f2ec..ffa6800f6d04592e73a41679dbeb0d987dc327ed 100644 (file)
@@ -3,5 +3,17 @@
   "version": "2.0.0",
   "scripts": ["moment.js"],
   "main": "moment.js",
-  "description": "Parse, validate, manipulate, and display dates in javascript."
+  "description": "Parse, validate, manipulate, and display dates in javascript.",
+  "ignore": [
+    ".gitignore",
+    ".travis.yml",
+    "composer.json",
+    "CONTRIBUTING.md",
+    "ender.js",
+    "Gruntfile.js",
+    "package.js",
+    "package.json",
+    "test",
+    "tasks"
+  ]
 }