Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Commit d7f6a69

Browse files
committed
Run tests before publishing
1 parent 525514a commit d7f6a69

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
@@ -20,7 +20,8 @@
2020
"node": ">= 8.9.0"
2121
},
2222
"scripts": {
23-
"test": "eslint . && jest"
23+
"test": "eslint . && jest",
24+
"prepublishOnly": "yarn test"
2425
},
2526
"peerDependencies": {
2627
"postcss-loader": ">=3.0.0",

0 commit comments

Comments
 (0)