mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
63 lines
2.0 KiB
JSON
63 lines
2.0 KiB
JSON
{
|
|
"name": "@swc/html",
|
|
"version": "1.15.47",
|
|
"description": "Super-fast HTML minifier",
|
|
"homepage": "https://swc.rs",
|
|
"main": "./index.js",
|
|
"author": "강동윤 <[email protected]>",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"swc",
|
|
"html"
|
|
],
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/swc-project/swc.git",
|
|
"directory": "packages/html"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/swc-project/swc/issues"
|
|
},
|
|
"napi": {
|
|
"binaryName": "swc-html",
|
|
"targets": [
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-linux-gnu",
|
|
"powerpc64le-unknown-linux-gnu",
|
|
"s390x-unknown-linux-gnu",
|
|
"x86_64-unknown-linux-musl",
|
|
"i686-pc-windows-msvc",
|
|
"armv7-unknown-linux-gnueabihf",
|
|
"aarch64-apple-darwin",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-musl",
|
|
"aarch64-pc-windows-msvc"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts --npm-dir scripts/npm",
|
|
"prepack": "tsc -d && napi prepublish -p scripts/npm --tag-style npm --skip-optional-publish",
|
|
"build:ts": "tsc -d",
|
|
"build": "(tsc -d || true) && napi build --manifest-path ../../Cargo.toml --platform -p binding_html_node --no-js --dts ./binding.d.ts --release -o .",
|
|
"build:dev": "(tsc -d || true) && napi build --manifest-path ../../Cargo.toml --platform -p binding_html_node --no-js --dts ./binding.d.ts -o .",
|
|
"test": "echo 'done!'",
|
|
"version": "napi version --npm-dir scripts/npm"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "^3.2.0",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"dependencies": {
|
|
"@swc/counter": "^0.1.3"
|
|
}
|
|
}
|