diff --git a/package.json b/package.json index 5f8c7af..ebc0719 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "bump": "node ./scripts/bump.js", "publish:dry": "npm publish dist/ --dry-run", "publish": "npm publish dist/", + "preversion": "npm run test", "version": "npm run build-package && git add -f dist/", "postversion": "git rm -r --cached dist/ && git commit -m \"Clean after release [ci skip]\" && git push origin && git push origin --tags" },