Skip to content

Commit

Permalink
add package.json prepublishOnly command to build assets
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Apr 21, 2024
1 parent 40c29d3 commit 233152d
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 @@ -10,7 +10,8 @@
"transpile": "babel --out-dir dist src",
"postinstall": "npm run transpile",
"prettier": "prettier --check src tests",
"prepare": "husky install || exit 0"
"prepare": "husky install || exit 0",
"prepublishOnly": "rm -rf dist; npm run transpile; npm run build:assets"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 233152d

Please sign in to comment.