Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Husky scripts to latest format #285

Merged
merged 4 commits into from
Nov 16, 2018
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@
"functional-tests": "node functional-tests/app.js & node ./node_modules/codeceptjs/bin/codecept.js run --steps",
"functional-tests-ci": "yarn run pre-build && yarn run selenium-build && node ./node_modules/codeceptjs/bin/codecept.js run --steps",
"lint": "NODE_ENV=dev ./node_modules/.bin/eslint src && ./node_modules/.bin/stylelint 'src/**/*.scss'",
"precommit": "lint-staged",
"commitmsg": "commitlint -e",
"prepush": "./build/prepush.sh",
"pre-build": "yarn install && yarn run clean && yarn run build-locales",
"flow": "flow check",
"flow-typed": "flow-typed",
Expand Down Expand Up @@ -210,5 +207,12 @@
},
"resolutions": {
"uglify-es": "3.3.4"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "lint-staged",
"pre-push": "./build/prepush.sh"
}
}
}