husky
Advanced tools
Comparing version 0.13.1 to 0.13.2
# CHANGELOG | ||
## 0.13.1 | ||
* Makes it easier for projects to transition from [ghooks](https://github.com/gtramontina/ghooks) by detecting ghooks installed scripts and automatically migrating them | ||
## 0.13.0 | ||
@@ -10,3 +14,3 @@ | ||
## 0.12.0 (stable) | ||
## 0.12.0 | ||
@@ -13,0 +17,0 @@ * Adds Git submodule support |
{ | ||
"name": "husky", | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", | ||
"main": "index.js", | ||
"main": "./src/index.js", | ||
"scripts": { | ||
"test": "mocha && standard", | ||
"precommit": "npm test", | ||
"prepublish": "pkg-ok", | ||
"install": "node ./bin/install.js", | ||
@@ -40,2 +41,3 @@ "uninstall": "node ./bin/uninstall.js" | ||
"mock-fs": "^3.12.1", | ||
"pkg-ok": "^1.0.1", | ||
"rimraf": "^2.2.8", | ||
@@ -42,0 +44,0 @@ "standard": "^8.6.0" |
@@ -30,2 +30,4 @@ # husky [![](http://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![npm version](https://badge.fury.io/js/husky.svg)](https://www.npmjs.com/package/husky) [![Build Status](https://travis-ci.org/typicode/husky.svg?branch=master)](https://travis-ci.org/typicode/husky) | ||
_If you're migrating from `ghooks`, simply run `npm uninstall ghooks --save-dev && npm install husky --save-dev` and edit `package.json`. Husky will automatically migrate `ghooks` hooks._ | ||
## Used by | ||
@@ -32,0 +34,0 @@ |
@@ -61,4 +61,4 @@ var fs = require('fs') | ||
' export $1=$2', | ||
' [ -s "$1/nvm.sh" ] && . $1/nvm.sh', | ||
' exists nvm && [ -f .nvmrc ] && nvm use', | ||
' [ -s "$2/nvm.sh" ] && . $2/nvm.sh', | ||
' command_exists nvm && [ -f .nvmrc ] && nvm use', | ||
'}', | ||
@@ -65,0 +65,0 @@ '', |
Sorry, the diff of this file is not supported yet
17132
98
6