| { |
| "name": "@swc/core", |
| "version": "1.15.40", |
| "description": "Super-fast alternative for babel", |
| "homepage": "https://swc.rs", |
| "main": "./index.js", |
| "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", |
| "directory": "packages/core" |
| }, |
| "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", |
| "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 |
| }, |
| "types": "./index.d.ts", |
| "peerDependencies": { |
| "@swc/helpers": ">=0.5.17" |
| }, |
| "peerDependenciesMeta": { |
| "@swc/helpers": { |
| "optional": true |
| } |
| }, |
| "funding": { |
| "type": "opencollective", |
| "url": "https://opencollective.com/swc" |
| }, |
| "files": [ |
| "CHANGELOG.md", |
| "Visitor.d.ts", |
| "index.d.ts", |
| "spack.js", |
| "util.d.ts", |
| "LICENSE", |
| "Visitor.js", |
| "binding.d.ts", |
| "index.js", |
| "types.d.ts", |
| "util.js", |
| "README.md", |
| "binding.js", |
| "package.json", |
| "spack.d.ts", |
| "types.js", |
| "postinstall.js", |
| "bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts" |
| ], |
| "dependencies": { |
| "@swc/counter": "^0.1.3", |
| "@swc/types": "^0.1.26" |
| }, |
| "devDependencies": { |
| "@napi-rs/cli": "^3.2.0", |
| "@rstest/core": "^0.7.8", |
| "cross-env": "^7.0.3", |
| "typescript": "^5.3.3" |
| }, |
| "optionalDependencies": { |
| "@swc/core-darwin-x64": "1.15.40", |
| "@swc/core-win32-x64-msvc": "1.15.40", |
| "@swc/core-linux-x64-gnu": "1.15.40", |
| "@swc/core-linux-ppc64-gnu": "1.15.40", |
| "@swc/core-linux-s390x-gnu": "1.15.40", |
| "@swc/core-linux-x64-musl": "1.15.40", |
| "@swc/core-win32-ia32-msvc": "1.15.40", |
| "@swc/core-linux-arm-gnueabihf": "1.15.40", |
| "@swc/core-darwin-arm64": "1.15.40", |
| "@swc/core-linux-arm64-gnu": "1.15.40", |
| "@swc/core-linux-arm64-musl": "1.15.40", |
| "@swc/core-win32-arm64-msvc": "1.15.40" |
| }, |
| "scripts": { |
| "postinstall": "node postinstall.js", |
| "artifacts": "napi artifacts --npm-dir scripts/npm", |
| "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 ../../Cargo.toml --platform -p binding_core_node --js ./binding.js --dts ./binding.d.ts --release -o .", |
| "build:dev": "tsc -d && napi build --manifest-path ../../Cargo.toml --platform -p binding_core_node --js ./binding.js --dts ./binding.d.ts -o .", |
| "test": "rstest", |
| "version": "napi version --npm-dir scripts/npm" |
| } |
| } |