UNPKG

html-minimizer-webpack-plugin

Version:
103 lines (102 loc) 3.13 kB
{ "name": "html-minimizer-webpack-plugin", "version": "6.0.0", "description": "html minimizer plugin for Webpack", "keywords": [ "html", "webpack", "webpack-plugin", "minimize", "minimizer", "minify", "minifier", "optimize", "optimizer" ], "homepage": "https://github.com/webpack/html-minimizer-webpack-plugin", "bugs": "https://github.com/webpack/html-minimizer-webpack-plugin/issues", "repository": "webpack/html-minimizer-webpack-plugin", "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "license": "MIT", "author": "webpack Contrib Team", "main": "dist/index.js", "types": "types/index.d.ts", "files": [ "dist", "types" ], "scripts": { "start": "npm run build -- -w", "clean": "del-cli dist types", "prebuild": "npm run clean", "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write", "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files", "build": "npm-run-all -p \"build:**\"", "commitlint": "commitlint --from=main", "security": "npm audit", "lint:prettier": "prettier --cache --list-different .", "lint:js": "eslint --cache .", "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", "lint:types": "tsc --pretty --noEmit", "lint": "npm-run-all -l -p \"lint:**\"", "fix:js": "npm run lint:js -- --fix", "fix:prettier": "npm run lint:prettier -- --write", "fix": "npm-run-all -l fix:js fix:prettier", "test:only": "cross-env NODE_ENV=test jest", "test:watch": "npm run test:only -- --watch", "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage", "pretest": "npm run lint", "test": "npm run test:coverage", "prepare": "husky && npm run build", "release": "standard-version" }, "dependencies": { "@types/html-minifier-terser": "^7.0.2", "html-minifier-terser": "^7.2.0", "jest-worker": "^30.0.0", "schema-utils": "^4.2.0", "serialize-javascript": "^7.0.3" }, "devDependencies": { "@babel/cli": "^7.24.8", "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@commitlint/cli": "^20.4.2", "@commitlint/config-conventional": "^20.4.2", "@minify-html/node": "^0.18.1", "@swc/html": "^1.13.2", "@types/node": "^20.14.9", "@types/serialize-javascript": "^5.0.4", "babel-jest": "^30.0.0", "copy-webpack-plugin": "^14.0.0", "cross-env": "^7.0.3", "cspell": "^9.7.0", "del": "^7.1.0", "del-cli": "^7.0.0", "eslint": "^9.31.0", "eslint-config-webpack": "^4.5.0", "husky": "^9.1.4", "jest": "^30.0.0", "lint-staged": "^16.3.1", "memfs": "^4.11.1", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "standard-version": "^9.5.0", "typescript": "^5.5.4", "webpack": "^5.93.0" }, "peerDependencies": { "webpack": "^5.1.0" }, "peerDependenciesMeta": { "@swc/html": { "optional": true } }, "engines": { "node": ">= 20.9.0" } }