Skip to content

Commit

Permalink
fix: Build code on npm publish
Browse files Browse the repository at this point in the history
Fixes #70
  • Loading branch information
sapegin committed Oct 27, 2020
1 parent 71e3a50 commit 373c37f
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 @@ -14,7 +14,8 @@
"lint": "eslint . --cache --fix",
"pretest": "npm run lint",
"posttest": "npm run format",
"format": "prettier --loglevel warn --write \"**/*.{js,md}\""
"format": "prettier --loglevel warn --write \"**/*.{js,md}\"",
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=10"
Expand Down

0 comments on commit 373c37f

Please sign in to comment.