Skip to content

Commit

Permalink
Split publish NPM hook into prepublishOnly and prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
EzraBrooks committed Apr 17, 2024
1 parent cf1f5ad commit 11920b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -49,7 +49,8 @@
"doc": "jsdoc -r -c jsdoc_conf.json -d ./doc .",
"lint": "eslint .",
"test": "vitest",
"publish": "npm run build && npm run test"
"prepublishOnly": "npm run test",
"prepare": "npm run build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 11920b3

Please sign in to comment.