106 lines
2.8 KiB
JSON
106 lines
2.8 KiB
JSON
|
{
|
||
|
"name": "html-minifier-terser",
|
||
|
"description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
|
||
|
"version": "7.1.0",
|
||
|
"license": "MIT",
|
||
|
"repository": "https://github.com/terser/html-minifier-terser.git",
|
||
|
"bugs": "https://github.com/terser/html-minifier-terser/issues",
|
||
|
"homepage": "https://terser.org/html-minifier-terser/",
|
||
|
"author": "Daniel Ruf",
|
||
|
"maintainers": [
|
||
|
"Daniel Ruf <daniel@daniel-ruf.de",
|
||
|
"Alex Lam <alexlamsl@gmail.com>",
|
||
|
"Juriy Zaytsev <kangax@gmail.com> (http://perfectionkills.com/)",
|
||
|
"Sibiraj <sibiraj.dev>"
|
||
|
],
|
||
|
"contributors": [
|
||
|
"Gilmore Davidson (https://github.com/gilmoreorless)",
|
||
|
"Hugo Wetterberg <hugo@wetterberg.nu>",
|
||
|
"Zoltan Frombach <tssajo@gmail.com>"
|
||
|
],
|
||
|
"keywords": [
|
||
|
"cli",
|
||
|
"compress",
|
||
|
"compressor",
|
||
|
"css",
|
||
|
"html",
|
||
|
"htmlmin",
|
||
|
"javascript",
|
||
|
"min",
|
||
|
"minification",
|
||
|
"minifier",
|
||
|
"minify",
|
||
|
"optimize",
|
||
|
"optimizer",
|
||
|
"pack",
|
||
|
"packer",
|
||
|
"parse",
|
||
|
"parser",
|
||
|
"terser",
|
||
|
"uglifier",
|
||
|
"uglify"
|
||
|
],
|
||
|
"engines": {
|
||
|
"node": "^14.13.1 || >=16.0.0"
|
||
|
},
|
||
|
"type": "module",
|
||
|
"main": "./dist/htmlminifier.cjs",
|
||
|
"module": "./src/htmlminifier.js",
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"require": "./dist/htmlminifier.cjs",
|
||
|
"import": "./src/htmlminifier.js"
|
||
|
},
|
||
|
"./dist/*": "./dist/*.js",
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"bin": {
|
||
|
"html-minifier-terser": "./cli.js"
|
||
|
},
|
||
|
"files": [
|
||
|
"dist/",
|
||
|
"src/",
|
||
|
"cli.js"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"build": "rollup -c",
|
||
|
"test:node": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
|
||
|
"test:web": "NODE_OPTIONS=--experimental-vm-modules jest --verbose --environment=jsdom",
|
||
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest verbose --watch",
|
||
|
"test": "npm run test:node",
|
||
|
"serve": "vite",
|
||
|
"build:docs": "vite build --base /html-minifier-terser/",
|
||
|
"lint": "eslint . --ignore-path .gitignore",
|
||
|
"prepare": "is-ci || husky install"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"camel-case": "^4.1.2",
|
||
|
"clean-css": "5.2.0",
|
||
|
"commander": "^9.4.1",
|
||
|
"entities": "^4.4.0",
|
||
|
"param-case": "^3.0.4",
|
||
|
"relateurl": "^0.2.7",
|
||
|
"terser": "^5.15.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@commitlint/cli": "^17.3.0",
|
||
|
"@jest/globals": "^29.3.1",
|
||
|
"@rollup/plugin-commonjs": "^23.0.2",
|
||
|
"@rollup/plugin-json": "^5.0.1",
|
||
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
||
|
"@rollup/plugin-terser": "^0.1.0",
|
||
|
"alpinejs": "^3.10.5",
|
||
|
"commitlint-config-non-conventional": "^1.0.1",
|
||
|
"eslint": "^8.28.0",
|
||
|
"eslint-config-standard": "^17.0.0",
|
||
|
"husky": "^8.0.2",
|
||
|
"is-ci": "^3.0.1",
|
||
|
"jest": "^29.3.1",
|
||
|
"jest-environment-jsdom": "^29.3.1",
|
||
|
"lint-staged": "^13.0.3",
|
||
|
"rollup": "^3.3.0",
|
||
|
"rollup-plugin-polyfill-node": "^0.11.0",
|
||
|
"vite": "^3.2.4"
|
||
|
}
|
||
|
}
|