Skip to content

Commit 9517558

Browse files
author
Kewin Polok
committed
Add prepare and prepublishOnly scripts
1 parent cebe8ab commit 9517558

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"build": "tsdx build",
1414
"lint": "eslint .",
1515
"start": "tsdx watch",
16-
"test": "tsdx test --runInBand"
16+
"test": "tsdx test --runInBand",
17+
"prepare": "yarn build",
18+
"prepublishOnly": "yarn lint && yarn test"
1719
},
1820
"dependencies": {
1921
"axios": "^0.19.2",

0 commit comments

Comments
 (0)