Skip to content

Commit

Permalink
package scripts: preversion now runs lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
macno committed Nov 30, 2023
1 parent ff38756 commit d9ecc8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"test": "jest"
"test": "jest",
"preversion": "npm run lint && npm run test"
},
"engines": {
"node": ">=18.4"
Expand Down

0 comments on commit d9ecc8d

Please sign in to comment.