UNPKG

pattern-lab-minify-html

Version:

The Minify HTML Plugin allows [Pattern Lab Node](https://github.com/pattern-lab/patternlab-node) users to minify and beautify the HTML template of all patterns. If the right options are passed, HTML errors like empty attributes can be prevented (id="" and

45 lines (44 loc) 1.41 kB
{ "name": "pattern-lab-minify-html", "version": "1.1.1", "description": "The Minify HTML Plugin allows [Pattern Lab Node](https://github.com/pattern-lab/patternlab-node) users to minify and beautify the HTML template of all patterns. If the right options are passed, HTML errors like empty attributes can be prevented (id=\"\" and class=\"\") and the production code size can be reduced.", "main": "index.js", "dependencies": { "fs-extra": "^9.0.1", "html-minifier": "^4.0.0", "js-beautify": "^1.13.2" }, "repository": { "type": "git", "url": "git+https://github.com/JosefBredereck/pattern-lab-minify-html.git" }, "scripts": { "lint": "eslint src/** index.js postinstall.js", "postinstall": "node ./postinstall.js" }, "author": "Josef Bredereck", "license": "MIT", "bugs": { "url": "https://github.com/JosefBredereck/pattern-lab-minify-html/issues" }, "homepage": "https://github.com/JosefBredereck/pattern-lab-minify-html", "devDependencies": { "eslint": "^7.17.0", "eslint-config-standard": "^16.0.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1" }, "keywords": [ "Patternlab", "Pattern", "Lab", "node", "plugin", "html", "beautify", "minify", "js-beautify", "html-minifier" ] }