Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit 0e1006a

Browse files
authored
Add prepublishOnly script (#73)
1 parent c3a774c commit 0e1006a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"lint": "eslint . --ext ts,js,json",
1717
"lint:fix": "eslint . --ext ts,js,json --fix",
1818
"test": "mocha ./test",
19-
"coverage": "nyc --check-coverage yarn test"
19+
"coverage": "nyc --check-coverage yarn test",
20+
"prepublishOnly": "yarn && yarn lint && yarn build && yarn coverage"
2021
},
2122
"dependencies": {
2223
"@metamask/safe-event-emitter": "^2.0.0",

0 commit comments

Comments
 (0)