mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Move husky check to new format
This commit is contained in:
parent
9623e60caa
commit
5f6212cd36
1 changed files with 5 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue