From 24865320a17145cd541db05e8a8077cb23068c2d Mon Sep 17 00:00:00 2001 From: Pierre-Denis Vanduynslager Date: Sun, 27 Aug 2017 01:14:48 -0400 Subject: [PATCH] chore(githooks): Run `npm install` on post-checkout hook --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index c92e825..d0903b1 100644 --- a/package.json +++ b/package.json @@ -112,6 +112,7 @@ "commitmsg": "commitlint -e", "compile": "rimraf preset.* release-rules.* types.* aliases.* lib && babel src --source-maps --out-dir .", "lint": "eslint src test package.json", + "postcheckout": "yarn install || (rimraf && npm install)", "precommit": "npm run compile && npm run lint", "prepublishOnly": "npm run compile", "prepush": "ava -v",