Skip to content

Commit

Permalink
scripts: add prePublish script (#28)
Browse files Browse the repository at this point in the history
It will avoid publishing without building the package
  • Loading branch information
RafaelGSS authored Dec 18, 2022
1 parent f392151 commit 978bcaf
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 @@ -9,7 +9,8 @@
"test": "npm run build && npm run typescript",
"lint": "eslint \"**/*.ts\"",
"lint:fix": "eslint \"**/*.ts\" --fix",
"typescript": "tsd"
"typescript": "tsd",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 978bcaf

Please sign in to comment.