Skip to content

Commit

Permalink
chore: Add prepublish script to run lint and tests before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sakib412 committed Dec 1, 2024
1 parent 2898b5e commit 831c2e2
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 @@ -20,7 +20,8 @@
"lint:eslint-docs": "eslint-doc-generator --check",
"lint:js": "eslint .",
"test": "mocha tests --recursive",
"update:eslint-docs": "eslint-doc-generator"
"update:eslint-docs": "eslint-doc-generator",
"prepublish": "npm run lint && npm run test"
},
"dependencies": {
"requireindex": "^1.2.0"
Expand Down

0 comments on commit 831c2e2

Please sign in to comment.