Skip to content

Commit 67bb1f2

Browse files
committed
run build before running tests
1 parent 2950979 commit 67bb1f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build:preact": "microbundle src/integrations/preact/index.mjs -o preact/index.js -f es,umd --external preact,htm --no-sourcemap --target web && cp src/integrations/preact/{index.d.ts,package.json} preact/ && npm run -s build:preact:standalone",
1212
"build:preact:standalone": "microbundle src/integrations/preact/standalone.mjs -o preact/standalone.js -f es,umd --no-sourcemap --target web",
1313
"build:babel": "cd packages/babel-plugin-htm && npm run build",
14-
"test": "eslint src/**/*.mjs test && jest test",
14+
"test": "eslint src/**/*.mjs test && npm run build && jest test",
1515
"release": "npm run build && git checkout --detach && git add -f babel dist preact && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push --tags && git checkout master"
1616
},
1717
"files": [

0 commit comments

Comments
 (0)