Skip to content

Commit

Permalink
check for TypeScript errors on yarn validate
Browse files Browse the repository at this point in the history
  • Loading branch information
GHaberis committed Aug 1, 2019
1 parent 47f3c5d commit a0b2458
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"scripts": {
"test": "jest --config jestconfig.json",
"build": "tsc",
"format": "yarn lint --fix",
"lint": "eslint src/**/*.ts",
"format": "yarn validate --fix",
"validate": "tsc --noEmit && eslint src/**/*.ts",
"prepare": "yarn build",
"prepublishOnly": "yarn test && yarn lint",
"preversion": "yarn lint",
"prepublishOnly": "yarn test && yarn validate",
"preversion": "yarn validate",
"version": "yarn format && git add -A src",
"postversion": "git push && git push --tags"
},
"husky": {
"hooks": {
"pre-push": "yarn lint && yarn test"
"pre-push": "yarn validate && yarn test"
}
},
"repository": "https://github.com/guardian/consent-management-platform.git",
Expand Down

0 comments on commit a0b2458

Please sign in to comment.