2024-05-18 03:23:06 +03:00
|
|
|
{
|
|
|
|
"name": "@swc/core",
|
2024-08-16 07:53:27 +03:00
|
|
|
"version": "1.7.12-nightly-20240816.1",
|
2024-05-18 03:23:06 +03:00
|
|
|
"description": "Super-fast alternative for babel",
|
|
|
|
"homepage": "https://swc.rs",
|
2024-05-30 14:56:14 +03:00
|
|
|
"main": "./index.js",
|
2024-05-18 03:23:06 +03:00
|
|
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"keywords": [
|
|
|
|
"swc",
|
|
|
|
"swcpack",
|
|
|
|
"babel",
|
|
|
|
"typescript",
|
|
|
|
"rust",
|
|
|
|
"webpack",
|
|
|
|
"tsc"
|
|
|
|
],
|
|
|
|
"engines": {
|
|
|
|
"node": ">=10"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/swc-project/swc.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/swc-project/swc/issues"
|
|
|
|
},
|
|
|
|
"napi": {
|
|
|
|
"binaryName": "swc",
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.org/",
|
|
|
|
"access": "public"
|
|
|
|
},
|
2024-05-30 14:56:14 +03:00
|
|
|
"types": "./index.d.ts",
|
2024-05-18 03:23:06 +03:00
|
|
|
"scripts": {
|
|
|
|
"postinstall": "node postinstall.js",
|
|
|
|
"artifacts": "napi artifacts --npm-dir scripts/npm",
|
2024-05-29 17:00:19 +03:00
|
|
|
"prepack": "tsc -d && napi prepublish -p scripts/npm --tag-style npm",
|
2024-05-18 03:23:06 +03:00
|
|
|
"pack": "wasm-pack",
|
|
|
|
"build:ts": "tsc -d",
|
|
|
|
"build:wasm": "npm-run-all \"pack -- build ../../bindings/binding_core_wasm --scope swc {1} -t {2} --features plugin\" --",
|
|
|
|
"build": "tsc -d && napi build --manifest-path ../../bindings/Cargo.toml --platform -p binding_core_node --js ./binding.js --dts ./binding.d.ts --release -o .",
|
|
|
|
"build:dev": "tsc -d && napi build --manifest-path ../../bindings/Cargo.toml --platform -p binding_core_node --js ./binding.js --dts ./binding.d.ts -o .",
|
|
|
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config ./jest.config.js",
|
|
|
|
"version": "napi version --npm-dir scripts/npm"
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"@swc/helpers": "*"
|
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"@swc/helpers": {
|
|
|
|
"optional": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"funding": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/swc"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"CHANGELOG.md",
|
2024-05-30 14:56:14 +03:00
|
|
|
"Visitor.d.ts",
|
|
|
|
"index.d.ts",
|
|
|
|
"spack.js",
|
|
|
|
"util.d.ts",
|
2024-05-18 03:23:06 +03:00
|
|
|
"LICENSE",
|
2024-05-30 14:56:14 +03:00
|
|
|
"Visitor.js",
|
|
|
|
"binding.d.ts",
|
|
|
|
"index.js",
|
|
|
|
"types.d.ts",
|
|
|
|
"util.js",
|
2024-05-18 03:23:06 +03:00
|
|
|
"README.md",
|
2024-05-29 09:35:15 +03:00
|
|
|
"binding.js",
|
2024-05-18 03:23:06 +03:00
|
|
|
"package.json",
|
2024-05-30 14:56:14 +03:00
|
|
|
"spack.d.ts",
|
|
|
|
"types.js",
|
2024-05-29 08:33:53 +03:00
|
|
|
"postinstall.js",
|
2024-05-18 03:23:06 +03:00
|
|
|
"bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
|
|
|
"@swc/counter": "^0.1.3",
|
|
|
|
"@swc/types": "workspace:^"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@napi-rs/cli": "^3.0.0-alpha.43",
|
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"jest": "^29.7.0",
|
|
|
|
"typescript": "^5.3.3"
|
|
|
|
}
|
|
|
|
}
|