Move husky check to new format

This commit is contained in:
Benjamin Staneck 2019-10-25 12:58:59 +02:00
parent 9623e60caa
commit 5f6212cd36

View file

@ -11,7 +11,6 @@
"test": "yarn run lint && yarn run test:unit",
"test:unit": "ava",
"test:unit:watch": "yarn run test:unit -- --watch",
"prepush": "yarn test",
"postinstall": "webpack --config-name hyper-app && electron-builder install-app-deps && yarn run rebuild-node-pty && cpy --cwd=target --parents 'node_modules/**/*' '../app/'",
"rebuild-node-pty": "electron-rebuild -f -w target/node_modules/node-pty -m target",
"dist": "yarn run build && cross-env BABEL_ENV=production babel --out-file target/renderer/bundle.js --no-comments --minified target/renderer/bundle.js && electron-builder",
@ -325,5 +324,10 @@
"style-loader": "1.0.0",
"typescript": "3.6.4",
"webpack": "4.41.2"
},
"husky": {
"hooks": {
"pre-push": "yarn test"
}
}
}