astro-minify-html-swc
Version:
An Astro integration that minifies HTML
75 lines • 1.69 kB
JSON
{
"name": "astro-minify-html-swc",
"type": "module",
"version": "0.1.10",
"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.0.0",
"@swc/html": "^1.15.3",
"fast-glob": "^3.3.3"
},
"devDependencies": {
"@ocavue/eslint-config": "^3.6.3",
"@ocavue/tsconfig": "^0.6.1",
"@types/node": "^20.19.17",
"astro": "^5.16.0",
"eslint": "^9.38.0",
"prettier": "^3.6.2",
"tsdown": "^0.16.7",
"typescript": "^5.9.3"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"lint": "eslint .",
"fix": "eslint --fix . && prettier --write .",
"typecheck": "tsc -b"
}
}