diff --git a/package.json b/package.json index c2bf21cfd3..2f39d1d958 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "test": "npm run build && jasmine-browser-runner runSpecs", "build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript", "release": "npm run lint && npm run build && node ci/compress.js", + "preversion": "npm run lint && npm test", "version": "npm run build && node ci/compress.js && git add -A dist src/index.ts" }, "lint-staged": {