File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 50
50
"devDependencies" : {
51
51
"c8" : " ^7.0.0" ,
52
52
"commonmark.json" : " ^0.30.0" ,
53
+ "esbuild" : " ^0.12.0" ,
53
54
"gzip-size-cli" : " ^5.0.0" ,
54
55
"hast-util-to-html" : " ^8.0.0" ,
55
56
"mdast-util-to-hast" : " ^11.0.0" ,
60
61
"remark-cli" : " ^9.0.0" ,
61
62
"remark-preset-wooorm" : " ^8.0.0" ,
62
63
"tape" : " ^5.0.0" ,
64
+ "terser" : " ^5.0.0" ,
63
65
"unified" : " ^9.0.0" ,
64
66
"xo" : " ^0.39.0"
65
67
},
66
68
"scripts" : {
67
- "build" : " micromark-build" ,
69
+ "build" : " micromark-build && esbuild . --bundle --minify | terser | gzip-size --raw " ,
68
70
"format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
69
71
"test-api" : " node --conditions development test/index.js" ,
70
72
"test-coverage" : " c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node --conditions development test/index.js" ,
You can’t perform that action at this time.
0 commit comments