We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666c6a0 commit 8213a17Copy full SHA for 8213a17
package.json
@@ -29,6 +29,9 @@
29
"zwitch": "^1.0.0"
30
},
31
"devDependencies": {
32
+ "babel-core": "^6.26.3",
33
+ "babel-preset-env": "^1.7.0",
34
+ "babelify": "^8.0.0",
35
"browserify": "^16.0.0",
36
"esmangle": "^1.0.0",
37
"hastscript": "^3.0.1",
@@ -45,7 +48,7 @@
45
48
46
49
"scripts": {
47
50
"build-md": "remark . -qfo",
- "build-bundle": "browserify index.js --bare -s hastUtilRaw > hast-util-raw.js",
51
+ "build-bundle": "browserify index.js -o hast-util-raw.js --bare -s hastUtilRaw -g [ babelify --presets [ \"babel-preset-env\" ] ]",
52
"build-mangle": "esmangle hast-util-raw.js > hast-util-raw.min.js",
53
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
54
"lint": "xo",
0 commit comments