Browse Source

Add husky to prevent commit without green tests

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
da019fb5d7
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      package.json

+ 4
- 1
package.json View File

@@ -18,6 +18,8 @@
},
"repository": "lesspass/cli",
"scripts": {
"precommit": "npm test",
"prepush": "npm test",
"test": "ava"
},
"dependencies": {
@@ -29,6 +31,7 @@
},
"devDependencies": {
"ava": "^0.18.2",
"execa": "^0.6.0"
"execa": "^0.6.0",
"husky": "^0.13.2"
}
}

Loading…
Cancel
Save