File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 10
10
"scripts" : {
11
11
"build" : " npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition" ,
12
12
"transpile" : " echo 'export const ENABLE_PRETTY = false;'>env.js && microbundle src/index.js -f es,umd --target web --external none" ,
13
- "transpile:jsx" : " echo 'export const ENABLE_PRETTY = true;'>env.js && microbundle src/jsx.js -o dist/jsx.js --target web --external pretty-format " ,
13
+ "transpile:jsx" : " echo 'export const ENABLE_PRETTY = true;'>env.js && 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
15
"test" : " eslint src test && mocha --compilers js:babel-register test/**/*.js" ,
16
16
"prepublish" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments