Add pre-commit hook (#109)
For better code quality - force collaborator to run
`lint` and `test` tasks before making a commit.
| | |
| | | =============================== |
| | | Any help is always welcome :) |
| | | |
| | | **Please use the linter before submitting your pull request.** |
| | | |
| | | ``` |
| | | npm run lint |
| | | ``` |
| | | |
| | | ### [Changelog](CHANGELOG.md) |
| | | |
| | | ### [MIT Licensed](LICENSE) |
| | |
| | | "jsdom": "^7.0.2", |
| | | "mocha": "^2.2.5", |
| | | "moment": "2.14.1", |
| | | "pre-commit": "^1.1.3", |
| | | "react": ">=0.13", |
| | | "react-addons-test-utils": ">=0.13", |
| | | "react-dom": "15.2.1", |
| | |
| | | "dependencies": { |
| | | "object-assign": "^3.0.0", |
| | | "react-onclickoutside": "^4.1.0" |
| | | } |
| | | }, |
| | | "pre-commit": [ |
| | | "lint", |
| | | "test" |
| | | ] |
| | | } |