Skip to content

Commit 359f041

Browse files
Fix build tools deprecation warnings (#110)
Fix build tools deprecation warnings
2 parents b39103a + 8cb6c5b commit 359f041

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 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
},
@@ -36,6 +36,11 @@
3636
"react/no-danger": 0,
3737
"jest/valid-expect": 0,
3838
"new-cap": 0
39+
},
40+
"settings": {
41+
"react": {
42+
"version": "16.8"
43+
}
3944
}
4045
},
4146
"babel": {

0 commit comments

Comments
 (0)