mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
70 lines
2.3 KiB
JSON
70 lines
2.3 KiB
JSON
{
|
|
"name": "@swc-lab/xml",
|
|
"version": "0.1.0",
|
|
"description": "Super-fast alternative for terser",
|
|
"homepage": "https://swc.rs",
|
|
"main": "./index.js",
|
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"swc",
|
|
"xml"
|
|
],
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/swc-project/swc.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/swc-project/swc/issues"
|
|
},
|
|
"napi": {
|
|
"name": "xml",
|
|
"triples": {
|
|
"defaults": true,
|
|
"additional": [
|
|
"x86_64-unknown-linux-musl",
|
|
"i686-pc-windows-msvc",
|
|
"aarch64-unknown-linux-gnu",
|
|
"armv7-unknown-linux-gnueabihf",
|
|
"aarch64-apple-darwin",
|
|
"aarch64-unknown-linux-musl",
|
|
"aarch64-pc-windows-msvc"
|
|
]
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public"
|
|
},
|
|
"types": "./index.d.ts",
|
|
"scripts": {
|
|
"artifacts": "napi artifacts --dist scripts/npm",
|
|
"prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tagstyle npm",
|
|
"pack": "wasm-pack",
|
|
"build:ts": "tsc -d",
|
|
"build:wasm": "npm-run-all \"pack -- build ../../bindings/binding_xml_wasm --scope swc {1} -t {2}\" --",
|
|
"build": "tsc -d && napi build --platform --cargo-name binding_xml_node --js ./src/binding.js --dts ./src/binding.d.ts --cargo-cwd ../../bindings -p binding_xml_node --release",
|
|
"build:dev": "tsc -d && napi build --platform --cargo-name binding_xml_node --js ./src/binding.js --dts ./src/binding.d.ts --cargo-cwd ../../bindings -p binding_xml_node",
|
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' echo 'no test'",
|
|
"version": "napi version -p scripts/npm"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/swc"
|
|
},
|
|
"packageManager": "yarn@3.5.0",
|
|
"dependencies": {
|
|
"@swc/counter": "^0.1.1",
|
|
"@swc/types": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "^2.16.3",
|
|
"@types/node": "^20.7.1",
|
|
"cross-env": "^7.0.3",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
}
|