Remove config data from package.json
Closed this issue · 9 comments
I originally put the boilerplate config in the package.json per @thejameskyle's suggestion. @megawac thinks it'd be better to put it in the gulpfile.
I'm fine either way, honestly. Any strong opinions here?
No strong opinions
@megawac what you think?
I'd like to see it moved elsewhere - probably just gulpfile IMO
Yeah the gulpfile is good
k will change
Prob depends on mochajs/mocha#1457 (comment)
@thejameskyle / @megawac I think I've got three choices:
- leave it the way that it is
- duplicate the mocha globals in two places (Gulpfile and browserify setup file)
- create an external file just for the mocha configuration
Thoughts?
4: I think you should have an external json file for the mocha globals and the eslintrc file in the test directory should extend from it so you're not setting them there as well.
I'm going to close this because of @paulfalgout 's awesome change made here ceb2941
If anyone else has any ideas for further ways to optimize the configuration, do let me know!