diff --git a/package.json b/package.json index 46ee3c3..568e8ea 100644 --- a/package.json +++ b/package.json @@ -112,6 +112,7 @@ "commitmsg": "commitlint -e", "compile": "rimraf lib && babel src --only index.js --source-maps --out-dir lib && rollup -c build/rollup.config.js", "lint": "eslint src test package.json", + "postcheckout": "yarn install || (rimraf && npm install)", "precommit": "npm run compile && npm run lint", "prepare": "npm run compile", "prepublishOnly": "npm run compile",