Ignore .gitignore (and more) from Bower packages

This commit is contained in:
Simon Brunel 2017-01-21 13:12:12 +01:00 committed by Evert Timberg
parent c20e57bc8a
commit ceec907bee

View File

@ -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 })