{ "name": "htmlnano", "version": "2.1.0", "description": "Modular HTML minifier, built on top of the PostHTML", "main": "index.cjs", "module": "index.mjs", "source": "index.mjs", "exports": { ".": { "require": "./index.cjs", "import": "./index.mjs" }, "./index.mjs": { "import": "./index.mjs" }, "./index.cjs": { "require": "./index.cjs" } }, "types": "index.d.ts", "author": "Kirill Maltsev ", "license": "MIT", "scripts": { "clean": "rimraf lib/*.cjs lib/**/*.cjs", "compile": "npm run clean && babel -d lib/ lib/ --out-file-extension .cjs", "lint": "eslint --fix *.mjs lib/*.mjs lib/**/*.mjs test/*.mjs test/**/*.mjs", "pretest": "npm run lint && npm run compile", "test": ":", "posttest": "mocha --timeout 5000 --require @babel/register --recursive --check-leaks --globals addresses", "prepare": "npm run compile" }, "keywords": [ "posthtml", "posthtml-plugin", "html", "postproccessor", "minifier" ], "babel": { "presets": [ [ "@babel/env", { "targets": { "node": 10 } } ] ], "plugins": [ [ "@aminya/babel-plugin-replace-import-extension", { "extMapping": { ".mjs": ".cjs" } } ] ] }, "dependencies": { "cosmiconfig": "^8.0.0", "posthtml": "^0.16.5", "timsort": "^0.3.0" }, "devDependencies": { "@babel/cli": "^7.15.7", "@babel/core": "^7.15.5", "@babel/eslint-parser": "^7.17.0", "@babel/preset-env": "^7.15.6", "@babel/register": "^7.15.3", "@aminya/babel-plugin-replace-import-extension": "1.2.0", "cssnano": "^6.0.0", "eslint": "^8.12.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-path-import-extension": "^0.9.0", "expect": "^29.0.0", "mocha": "^10.1.0", "postcss": "^8.3.11", "purgecss": "^5.0.0", "relateurl": "^0.2.7", "rimraf": "^5.0.0", "srcset": "4.0.0", "svgo": "^3.0.2", "terser": "^5.21.0", "uncss": "^0.17.3" }, "peerDependencies": { "cssnano": "^6.0.0", "postcss": "^8.3.11", "purgecss": "^5.0.0", "relateurl": "^0.2.7", "srcset": "4.0.0", "svgo": "^3.0.2", "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" }