Skip to content

Commit cc644be

Browse files
Fix mocha compilers deprecation warning
1 parent b39103a commit cc644be

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
@@ -12,7 +12,7 @@
1212
"transpile": "microbundle src/index.js -f es,umd --target web --external preact",
1313
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external none && microbundle dist/jsx.js -o dist/jsx.js -f cjs",
1414
"copy-typescript-definition": "copyfiles -f src/index.d.ts dist",
15-
"test": "eslint src test && tsc && mocha --compilers js:babel-register test/**/*.js",
15+
"test": "eslint src test && tsc && mocha -r babel-core/register test/**/*.js",
1616
"prepublish": "npm run build",
1717
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
1818
},

0 commit comments

Comments
 (0)