Skip to content

Commit

Permalink
Add prepack script to build and test the package before publishing it
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Lasermann committed May 13, 2022
1 parent 172c051 commit 14010e1
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 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"test": "jest --verbose"
"test": "jest --verbose",
"prepack": "npm ci && npm run build && npm run test"
},
"keywords": [
"Emotion",
Expand Down

0 comments on commit 14010e1

Please sign in to comment.