astro-minify-html-swc
Version:
An Astro integration that minifies HTML
78 lines • 1.76 kB
JSON
{
"name": "astro-minify-html-swc",
"type": "module",
"version": "0.1.12",
"description": "An Astro integration that minifies HTML",
"author": "ocavue <ocavue@gmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/ocavue",
"homepage": "https://github.com/ocavue/astro-minify-html-swc#readme",
"repository": {
"type": "git",
"url": "https://github.com/ocavue/astro-minify-html-swc.git"
},
"bugs": "https://github.com/ocavue/astro-minify-html-swc/issues",
"keywords": [
"astro",
"withastro",
"astro-integration",
"astro-component",
"SWC",
"minify",
"compression",
"compress",
"html",
"CSS",
"JavaScript",
"performance",
"optimization"
],
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist",
"src"
],
"dependencies": {
"@ocavue/utils": "^1.7.0",
"@swc/html": "^1.15.43",
"fast-glob": "^3.3.3"
},
"devDependencies": {
"@ocavue/eslint-config": "^4.9.1",
"@ocavue/tsconfig": "^0.7.1",
"@types/node": "^24.12.0",
"astro": "^7.0.0",
"eslint": "^10.5.0",
"prettier": "^3.8.4",
"tinyexec": "^1.2.4",
"tsdown": "^0.22.3",
"typescript": "^6.0.3",
"vitest": "^4.1.9"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"lint": "eslint .",
"fix": "eslint --fix . && prettier --write .",
"test": "vitest",
"typecheck": "tsc -b"
}
}