Skip to content

Commit 0718493

Browse files
committed
chore: add preversion script
1 parent c811dd8 commit 0718493

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"test": "npm run build && jasmine-browser-runner runSpecs",
3737
"build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
3838
"release": "npm run lint && npm run build && node ci/compress.js",
39+
"preversion": "npm run lint && npm test",
3940
"version": "npm run build && node ci/compress.js && git add -A dist src/index.ts"
4041
},
4142
"lint-staged": {

0 commit comments

Comments
 (0)