codemix / babel-plugin-typecheck

Static and runtime type checking for JavaScript in the form of a Babel plugin.
MIT License
886 stars 44 forks source link

Pin mocha dependency to 2.2.x #18

Closed motiz88 closed 9 years ago

motiz88 commented 9 years ago

This is a quick workaround for a small issue I was having when I first cloned the repo to work on something else.

The dev dependency "mocha": "^2.2.4" matches 2.3.x too, which causes npm run test / watch to fail due to the --harmony flag in mocha.opts no longer being recognized by mocha >=2.3. A better long-term solution might be to update to the latest mocha and fix the flags accordingly.

phpnode commented 9 years ago

thanks!