Skip to content

Commit cbe66e6

Browse files
committed
chore: add prepublish script
1 parent 9aced0b commit cbe66e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"eslint": "eslint cli-examples lib",
1212
"eslint:fix": "npm run eslint -- --fix",
1313
"prettier": "prettier --write cli-examples lib",
14-
"prepare": "husky install"
14+
"prepare": "husky install",
15+
"prepublishOnly": "npm run eslint && npm test"
1516
},
1617
"keywords": [],
1718
"author": "",

0 commit comments

Comments
 (0)