Skip to content

Commit fdf2fa3

Browse files
committed
Lint and test before versioning
1 parent 7c4a216 commit fdf2fa3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"clean": "rimraf lib",
1212
"prepublish": "npm run build",
1313
"postpublish": "npm run clean",
14+
"preversion": "npm run lint && npm run test",
1415
"version": "auto-changelog --package --template compact; git add CHANGELOG.md"
1516
},
1617
"repository": {

0 commit comments

Comments
 (0)