2023-09-29 11:47:59 +03:00
|
|
|
{
|
|
|
|
"name": "@swc/minifier",
|
2024-11-06 16:32:05 +03:00
|
|
|
"version": "1.9.1",
|
2023-09-29 11:47:59 +03:00
|
|
|
"description": "Super-fast alternative for terser",
|
|
|
|
"homepage": "https://swc.rs",
|
|
|
|
"main": "./index.js",
|
|
|
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"keywords": [
|
|
|
|
"swc",
|
|
|
|
"terser",
|
|
|
|
"minifier"
|
|
|
|
],
|
|
|
|
"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": {
|
2023-12-11 07:45:04 +03:00
|
|
|
"binaryName": "minifier",
|
2023-12-17 05:20:59 +03:00
|
|
|
"targets": [
|
|
|
|
"x86_64-apple-darwin",
|
|
|
|
"x86_64-pc-windows-msvc",
|
|
|
|
"x86_64-unknown-linux-gnu",
|
|
|
|
"x86_64-unknown-linux-musl",
|
|
|
|
"i686-pc-windows-msvc",
|
|
|
|
"armv7-unknown-linux-gnueabihf",
|
|
|
|
"aarch64-unknown-linux-gnu",
|
|
|
|
"aarch64-apple-darwin",
|
|
|
|
"aarch64-unknown-linux-musl",
|
|
|
|
"aarch64-pc-windows-msvc"
|
|
|
|
]
|
2023-09-29 11:47:59 +03:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.org/",
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"types": "./index.d.ts",
|
|
|
|
"scripts": {
|
2023-12-13 13:41:40 +03:00
|
|
|
"artifacts": "napi artifacts --npm-dir scripts/npm",
|
2023-09-29 11:47:59 +03:00
|
|
|
"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_minifier_wasm --scope swc {1} -t {2}\" --",
|
2023-12-11 07:45:04 +03:00
|
|
|
"build": "tsc -d && napi build --platform --js ./src/binding.js --dts ./src/binding.d.ts --manifest-path ../../bindings/Cargo.toml -p binding_minifier_node --output-dir . --release",
|
|
|
|
"build:dev": "tsc -d && napi build --platform --js ./src/binding.js --dts ./src/binding.d.ts --manifest-path ../../bindings/Cargo.toml -p binding_minifier_node --output-dir .",
|
2023-09-29 22:51:00 +03:00
|
|
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' echo 'no test'",
|
2024-02-13 08:51:57 +03:00
|
|
|
"version": "napi version --npm-dir scripts/npm"
|
2023-09-29 11:47:59 +03:00
|
|
|
},
|
|
|
|
"funding": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/swc"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-02-05 11:52:22 +03:00
|
|
|
"@swc/counter": "^0.1.3",
|
2023-09-29 22:51:00 +03:00
|
|
|
"@swc/types": "workspace:^"
|
2023-09-29 11:47:59 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-17 05:20:59 +03:00
|
|
|
"@napi-rs/cli": "^3.0.0-alpha.22",
|
2023-09-29 22:51:00 +03:00
|
|
|
"@types/node": "^20.7.1",
|
|
|
|
"cross-env": "^7.0.3",
|
2023-09-29 11:47:59 +03:00
|
|
|
"typescript": "^5.2.2"
|
|
|
|
}
|
|
|
|
}
|