Skip to content

Commit

Permalink
Update: Husky scripts (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum committed Nov 16, 2018
1 parent 43e5cb0 commit eaff0f0
Showing 1 changed file with 7 additions and 3 deletions.
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"
}
}
}

0 comments on commit eaff0f0

Please sign in to comment.