{ "name": "htmlnano", "version": "2.0.0", "description": "Modular HTML minifier, built on top of the PostHTML", "main": "index.js", "author": "Kirill Maltsev ", "license": "MIT", "scripts": { "compile": "rimraf lib/*.js && rimraf lib/modules/*.js && babel -d lib/ lib/", "lint": "eslint *.js lib/*.es6 lib/modules/*.es6 lib/presets/*.es6 test/", "pretest": "npm run lint && npm run compile", "test": ":", "posttest": "mocha --timeout 5000 --require @babel/register --recursive --check-leaks --globals addresses", "prepare": "npm run compile", "release:patch": "release-it patch -n" }, "release-it": { "hooks": { "before:init": "npm test" } }, "keywords": [ "posthtml", "posthtml-plugin", "html", "postproccessor", "minifier" ], "babel": { "presets": [ [ "@babel/env", { "targets": { "node": 10 } } ] ] }, "dependencies": { "cosmiconfig": "^7.0.1", "posthtml": "^0.16.5", "timsort": "^0.3.0" }, "devDependencies": { "@babel/cli": "^7.15.7", "@babel/core": "^7.15.5", "@babel/preset-env": "^7.15.6", "@babel/register": "^7.15.3", "babel-eslint": "^10.1.0", "cssnano": "^5.0.11", "eslint": "^7.32.0", "expect": "^27.2.0", "mocha": "^9.1.0", "postcss": "^8.3.11", "purgecss": "^4.0.3", "relateurl": "^0.2.7", "release-it": "^14.11.5", "rimraf": "^3.0.2", "srcset": "^5.0.0", "svgo": "^2.8.0", "terser": "^5.10.0", "uncss": "^0.17.3" }, "peerDependencies": { "cssnano": "^5.0.11", "postcss": "^8.3.11", "purgecss": "^4.0.3", "relateurl": "^0.2.7", "srcset": "^5.0.0", "svgo": "^2.8.0", "terser": "^5.10.0", "uncss": "^0.17.3" }, "peerDependenciesMeta": { "cssnano": { "optional": true }, "postcss": { "optional": true }, "purgecss": { "optional": true }, "relateurl": { "optional": true }, "srcset": { "optional": true }, "svgo": { "optional": true }, "terser": { "optional": true }, "uncss": { "optional": true } }, "repository": { "type": "git", "url": "git://github.com/posthtml/htmlnano.git" }, "bugs": { "url": "https://github.com/posthtml/htmlnano/issues" }, "homepage": "https://github.com/posthtml/htmlnano" }