Skip to content

Commit

Permalink
feat(dx): add git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte authored and Raphaël Benitte committed Jul 9, 2017
1 parent 623ba3d commit fa2ab07
Show file tree
Hide file tree
Showing 2 changed files with 292 additions and 13 deletions.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@
"eslint": "^4.1.1",
"gh-pages": "^1.0.0",
"git-changelog": "^1.1.2",
"husky": "^0.14.3",
"jest": "^20.0.4",
"jsdoc": "^3.4.3",
"lint-staged": "^4.0.1",
"minami": "^1.2.3",
"mustache": "^2.3.0",
"nock": "^9.0.13",
Expand All @@ -65,6 +67,11 @@
"doc": "jsdoc src -R README.md -r -d _doc --verbose -t node_modules/minami",
"doc-pub": "yarn run readme && yarn run doc && gh-pages -d _doc",
"examples": "cucumberjs --require examples/support examples/features",
"changelog": "git-changelog -t false -n v${npm_package_version}"
"changelog": "git-changelog -t false -n v${npm_package_version}",
"precommit": "lint-staged"
},
"lint-staged": {
"README.md": ["readme", "git add"],
"*.js": ["fmt", "git add"]
}
}

0 comments on commit fa2ab07

Please sign in to comment.