From b0a6728a25073bdc6900a2f02ab6724459eb3d3a Mon Sep 17 00:00:00 2001 From: Justin Palmer Date: Tue, 18 Jun 2013 11:28:50 -0700 Subject: [PATCH] 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. --- bower.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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" + ] } -- 2.47.3