diff --git a/package.json b/package.json index dfc99ba1..f06fd2dc 100644 --- a/package.json +++ b/package.json @@ -125,8 +125,8 @@ "format": "yarn run prettier && yarn run eslint --fix", "git:addFiles": "git add .", "postinstall": "opencollective-postinstall", - "precommit": "npm run build", - "prepublishOnly": "npm run build && npm run build:typings", + "precommit": "yarn run eslint", + "prepublishOnly": "yarn run build && yarn run build:typings", "prepare": "husky install" }, "author": {