astro-minify-html-swc
Version:
An Astro integration that minifies HTML
74 lines • 1.67 kB
JSON
{
"name": "astro-minify-html-swc",
"type": "module",
"version": "0.1.7",
"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"
],
"dependencies": {
"@ocavue/utils": "^0.6.0",
"@swc/html": "^1.13.2",
"fast-glob": "^3.3.3"
},
"devDependencies": {
"@ocavue/eslint-config": "^3.2.0",
"@ocavue/tsconfig": "^0.3.7",
"@types/node": "^20.17.5",
"astro": "^5.12.3",
"eslint": "^9.31.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"typescript": "^5.8.3"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint .",
"fix": "eslint --fix . && prettier --write .",
"typecheck": "tsc -b"
}
}