Skip to content

Commit a214b0c

Browse files
Update test scripts to allow watch usage
1 parent ea31630 commit a214b0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"transpile": "microbundle src/index.js -f es,umd --target web --external preact",
3232
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external preact && microbundle dist/jsx.js -o dist/jsx.js -f cjs --external preact",
3333
"copy-typescript-definition": "copyfiles -f src/*.d.ts dist",
34-
"test": "eslint src test && tsc && npm run test:mocha && npm run bench",
35-
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/**/[!compat]*.test.js && npm run test:mocha:compat",
36-
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/compat.test.js",
34+
"test": "eslint src test && tsc && npm run test:mocha && npm run test:mocha:compat && npm run bench",
35+
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/**/[!compat]*.test.js",
36+
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/compat.test.js 'test/compat-*.test.js'",
3737
"format": "prettier src/**/*.{d.ts,js} test/**/*.js --write",
3838
"prepublishOnly": "npm run build",
3939
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"

0 commit comments

Comments
 (0)