From f46ad7fc9e1cca7313762179c2e0caba3504f198 Mon Sep 17 00:00:00 2001 From: Simon Brunel Date: Sat, 21 Jan 2017 13:12:12 +0100 Subject: [PATCH] Ignore .gitignore (and more) from Bower packages --- gulpfile.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 7442cfe6d25..6cd6efa5d91 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -71,7 +71,15 @@ function bowerTask() { homepage: package.homepage, license: package.license, version: package.version, - main: outDir + "Chart.js" + main: outDir + "Chart.js", + ignore: [ + '.github', + '.codeclimate.yml', + '.gitignore', + '.npmignore', + '.travis.yml', + 'scripts' + ] }, null, 2); return file('bower.json', json, { src: true })