File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 12
12
"transpile" : " microbundle src/index.js -f es,umd --target web --external preact" ,
13
13
"transpile:jsx" : " microbundle src/jsx.js -o dist/jsx.js --target web --external none && microbundle dist/jsx.js -o dist/jsx.js -f cjs" ,
14
14
"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" ,
16
16
"prepublish" : " npm run build" ,
17
17
"release" : " npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
18
18
},
36
36
"react/no-danger" : 0 ,
37
37
"jest/valid-expect" : 0 ,
38
38
"new-cap" : 0
39
+ },
40
+ "settings" : {
41
+ "react" : {
42
+ "version" : " 16.8"
43
+ }
39
44
}
40
45
},
41
46
"babel" : {
You can’t perform that action at this time.
0 commit comments