Skip to content

Instantly share code, notes, and snippets.

@bithoundio
Last active February 20, 2018 22:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bithoundio/d1652d6ab3908316c104 to your computer and use it in GitHub Desktop.
Save bithoundio/d1652d6ab3908316c104 to your computer and use it in GitHub Desktop.
Specifying a custom package.json location for your project using .bithoundrc.
{
"ignore": [
"**/deps/**",
"**/node_modules/**",
"**/thirdparty/**",
"**/third_party/**",
"**/vendor/**",
"**/**-min-**",
"**/**-min.**",
"**/**.min.**",
"**/**jquery.?(ui|effects)-*.*.?(*).?(cs|j)s",
"**/**jquery-*.*.?(*).?(cs|j)s",
"**/prototype?(*).js",
"**/mootools*.*.*.js",
"**/dojo.js",
"**/MochiKit.js",
"**/yahoo-*.js",
"**/yui*.js",
"**/ckeditor*.js",
"**/tiny_mce*.js",
"**/tiny_mce/?(langs|plugins|themes|utils)/**",
"**/MathJax/**",
"**/shBrush*.js",
"**/shCore.js",
"**/shLegacy.js",
"**/modernizr.custom.?(*).js",
"**/knockout-*.*.*.debug.js",
"**/extjs/*.js",
"**/extjs/*.xml",
"**/extjs/*.txt",
"**/extjs/*.html",
"**/extjs/*.properties",
"**/extjs/.sencha",
"**/extjs/docs/**",
"**/extjs/builds/**",
"**/extjs/cmd/**",
"**/extjs/examples/**",
"**/extjs/locale/**",
"**/extjs/packages/**",
"**/extjs/plugins/**",
"**/extjs/resources/**",
"**/extjs/src/**",
"**/extjs/welcome/**",
"bower_components/**"
],
"test": [
"**/test/**",
"**/tests/**",
"**/spec/**",
"**/specs/**"
],
"packageJsonLocation": "foo/package.json"
}
@gmadole
Copy link

gmadole commented Aug 9, 2017

+1 multiple package.json file support would be great!

@Joatin
Copy link

Joatin commented Jan 25, 2018

+1 multiple would be great for monorepos!

@wmorgan69
Copy link

+1 for multiple package.json files.
In it's current format looks like it won't work for us. We have multiple microservices in one repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment