Simon Egersand
2016-08-30 45ce05ce7d0755119878758877658d7a9c48b89e
Add pre-commit hook (#109)

For better code quality - force collaborator to run
`lint` and `test` tasks before making a commit.
2 files modified
13 ■■■■ changed files
README.md 6 ●●●●● patch | view | raw | blame | history
package.json 7 ●●●● patch | view | raw | blame | history
README.md
@@ -142,12 +142,6 @@
===============================
Any help is always welcome :)
**Please use the linter before submitting your pull request.**
```
npm run lint
```
### [Changelog](CHANGELOG.md)
### [MIT Licensed](LICENSE)
package.json
@@ -40,6 +40,7 @@
    "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",
@@ -50,5 +51,9 @@
  "dependencies": {
    "object-assign": "^3.0.0",
    "react-onclickoutside": "^4.1.0"
  }
  },
  "pre-commit": [
    "lint",
    "test"
  ]
}