Skip to content

Commit 90a8b6c

Browse files
committed
build before test
1 parent d264bad commit 90a8b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"types": "./dist/reconnecting-websocket.d.ts",
88
"scripts": {
99
"build": "npm run clean && rollup -c && uglifyjs --compress --mangle -o dist/reconnecting-websocket-iife.min.js dist/reconnecting-websocket-iife.js",
10-
"test": "nyc --reporter=text-summary --reporter=lcov ava --verbose --serial test/test.js",
10+
"test": "npm run build && nyc --reporter=text-summary --reporter=lcov ava --verbose --serial test/test.js",
1111
"clean": "del dist && del coverage && del .nyc_output",
1212
"report": "nyc report --reporter=html && opn coverage/index.html",
1313
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",

0 commit comments

Comments
 (0)