From: Justin Palmer Date: Tue, 18 Jun 2013 18:28:50 +0000 (-0700) Subject: ignore nonessential files when installing via bower X-Git-Tag: 2.1.0~14^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a6728a25073bdc6900a2f02ab6724459eb3d3a;p=thirdparty%2Fmoment.git ignore nonessential files when installing via bower 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. --- diff --git a/bower.json b/bower.json index fa6b423c8..ffa6800f6 100644 --- a/bower.json +++ b/bower.json @@ -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" + ] }