refactor travis encrypt to manual process before push

This commit is contained in:
Lachlan Kermode
2018-12-18 15:54:44 +00:00
parent 651f768c5b
commit e573348679
3 changed files with 18 additions and 7 deletions

View File

@@ -9,12 +9,12 @@
"start": "node dist",
"lint": "standard \"src/**/*.js\" \"test/**/*.js\"",
"test-watch": "ava --watch",
"test": "ava --verbose"
"test": "ava --verbose",
"travis-encrypt": "./scripts/encrypt.sh"
},
"husky": {
"hooks": {
"pre-commit": "sh ./scripts/encrypt.sh",
"pre-push": "yarn lint && yarn test"
"pre-push": "./scripts/check-branch.sh && yarn lint && yarn test"
}
},
"repository": {