node-raspicam
node-raspicam copied to clipboard
added .json extension to options
when working with react/webpack/es6 when a file doestn' have an extension, it looks for a .js extension. ../options does not have an extension in raspicam.js so it errors out because it can't find it. Adding the .json extension fixes those errors.
@erichardson30 is this backwards compatible to pre-es6? is your PR universally applicable, or will it trigger issues for legacy users?
@erichardson30 the README.md and package.json changes are only applicable to your fork and don't really need to be in this PR. There's also a conflict that needs to be resolved, but otherwise, works on supported Node versions.