diff --git a/package.json b/package.json index a562921..3d5112b 100644 --- a/package.json +++ b/package.json @@ -37,20 +37,20 @@ ], "devDependencies": { "browserify": "^16.0.0", - "esmangle": "^1.0.1", "hastscript": "^4.0.0", "nyc": "^12.0.0", "prettier": "^1.13.5", "remark-cli": "^5.0.0", "remark-preset-wooorm": "^4.0.0", "tape": "^4.0.0", + "tinyify": "^2.4.3", "unist-builder": "^1.0.2", "xo": "^0.21.0" }, "scripts": { "format": "remark . -qfo && prettier --write '**/*.js' && xo --fix", - "build-bundle": "browserify index.js --bare -s hastUtilSelect > hast-util-select.js", - "build-mangle": "esmangle < hast-util-select.js > hast-util-select.min.js", + "build-bundle": "browserify index.js -s hastUtilSelect > hast-util-select.js", + "build-mangle": "browserify index.js -p tinyify -s hastUtilSelect > hast-util-select.min.js", "build": "npm run build-bundle && npm run build-mangle", "test-api": "node test", "test-coverage": "nyc --reporter lcov tape test/index.js",