Skip to content

Commit

Permalink
chore(ghooks): run test:once before commit
Browse files Browse the repository at this point in the history
protect ourselves with test:once before commiting
  • Loading branch information
marvindanig committed Sep 3, 2016
1 parent 3ee7cc1 commit b823b26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"test:once": "mocha ./tests/start.tests.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"postinstall": "node ./scripts/displayLicense.js"

},
"bin": {
"bookiza": "./bin/bin.js",
Expand Down Expand Up @@ -66,6 +65,7 @@
"devDependencies": {
"chai": "3.5.0",
"cz-conventional-changelog": "1.2.0",
"ghooks": "1.3.2",
"mocha": "3.0.2",
"semantic-release": "^4.3.5"
},
Expand All @@ -74,7 +74,7 @@
"path": "./node_modules/cz-conventional-changelog"
},
"ghooks": {
"pre-commit": "npm run test:single"
}
"pre-commit": "npm run test:once"
}
}
}

0 comments on commit b823b26

Please sign in to comment.