Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 1057e5c

Browse files
committed
require tests before publish
1 parent dc9a7d4 commit 1057e5c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
"main": "dist/jsdom-inline-worker.js",
66
"module": "dist/jsdom-inline-worker.m.js",
77
"scripts": {
8-
"prepare": "microbundle --external all",
9-
"test": "eslint src test && npm run -s prepare && jest"
8+
"build": "microbundle --external all",
9+
"test": "eslint src test && npm run -s build && jest",
10+
"prepare": "npm run -s build && npm i"
1011
},
1112
"babel": {
1213
"presets": [

0 commit comments

Comments
 (0)