refactor to scripts

This commit is contained in:
Lachlan Kermode
2018-12-14 16:56:37 +00:00
parent 5f4943d1d5
commit 219adc1e5e
4 changed files with 10 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
},
"husky": {
"hooks": {
"pre-commit": "yarn test && yarn lint && travis encrypt-file .env --add --force && git add ."
"pre-push": "yarn test && yarn lint && travis encrypt-file .env --add --force && git add .env.enc && git commit -m \"add encrypted key\""
}
},
"repository": {