Skip to content

Commit

Permalink
Add prepublish script (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroPerezMartin authored Apr 16, 2020
1 parent fed4f21 commit 8b54627
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 @@
"start": "cd demo && node ../index.js",
"dev": "cd demo && node ../index.js dev",
"build": "cd demo && node ../index.js prod",
"test": "cd test && node ../index.js && cd .. && tap -J -Rmin ./test/*.test.js"
"test": "cd test && node ../index.js && cd .. && tap -J -Rmin ./test/*.test.js",
"prepublishOnly": "npm run test"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 8b54627

Please sign in to comment.