This PR simplifies this library to be easily consumable via CommonJS modules. After this PR you should simply be able to npm install --save react-validatorjs-strategy and use within your application. This should allow easy bundling via WebPack and Browserify.
I also upgraded the /src folder to be ES6, and ensured tests are passing.
Cross link with Issue #2
This PR simplifies this library to be easily consumable via CommonJS modules. After this PR you should simply be able to
npm install --save react-validatorjs-strategy
and use within your application. This should allow easy bundling via WebPack and Browserify.I also upgraded the /src folder to be ES6, and ensured tests are passing.