swc/package.json

139 lines
4.7 KiB
JSON
Raw Normal View History

2020-02-16 10:51:42 +03:00
{
"name": "@swc/core",
2022-04-03 10:06:38 +03:00
"version": "1.2.163",
"description": "Super-fast alternative for babel",
"homepage": "https://swc.rs",
"main": "./index.js",
"bin": {
"swcx": "run_swcx.js"
},
"author": "강동윤 <kdy1997.dev@gmail.com>",
"license": "Apache-2.0",
"keywords": [
"swc",
2021-10-19 11:25:57 +03:00
"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": {
"name": "swc",
"triples": {
"defaults": true,
"additional": [
"x86_64-unknown-linux-musl",
2021-12-02 06:57:27 +03:00
"x86_64-unknown-freebsd",
"i686-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf",
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-linux-androideabi"
]
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"types": "./index.d.ts",
"scripts": {
"changelog": "git cliff --output CHANGELOG.md",
"prepare": "husky install && git config feature.manyFiles true && node ./crates/swc_ecma_preset_env/scripts/copy-data.js",
"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 ./crates/wasm --scope swc {1} -t {2} --features plugin\" --",
"build": "tsc -d && napi build --platform --cargo-name node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -p node --release",
"build:dev": "tsc -d && napi build --platform --cargo-name node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -p node",
2021-07-06 08:29:45 +03:00
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest node-swc/__tests__",
"version": "napi version -p scripts/npm"
},
"lint-staged": {
"*.toml": [
"taplo format"
],
"*.rs": [
"cargo fmt --"
]
},
"devDependencies": {
"@babel/compat-data": "^7.17.0",
"@babel/core": "^7.13.16",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.13.15",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/preset-env": "^7.13.15",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@babel/types": "^7.14.0",
2022-03-11 17:00:55 +03:00
"@napi-rs/cli": "^2.4.5",
"@swc/helpers": "^0.2.10",
"@taplo/cli": "^0.3.2",
"@types/jest": "^26.0.23",
"@types/node": "^14.14.41",
"acorn": "^8.6.0",
"acorn-jsx": "^5.3.2",
"axios": "^0.21.1",
"babel-plugin-transform-node-env-inline": "^0.4.3",
"benchmark": "^2.1.4",
2021-11-10 13:00:54 +03:00
"class-validator": "^0.13.1",
"core-js": "^2.6.11",
"core-js-compat": "^3.21.1",
2021-07-06 08:29:45 +03:00
"cross-env": "^7.0.3",
2021-10-19 11:25:57 +03:00
"cspell": "^5.12.3",
"expect": "^27.4.2",
2021-10-19 11:25:57 +03:00
"husky": "^7.0.2",
"jest": "^27.0.1",
"lint-staged": "^12.3.6",
"lodash": "^4.17.21",
"mocha": "^9.1.3",
"npm-run-all": "^4.1.5",
"progress": "^2.0.3",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"reflect-metadata": "^0.1.13",
"regenerator-runtime": "^0.13.9",
"source-map": "^0.7.3",
"source-map-support": "^0.5.19",
"sourcemap-validator": "^2.1.0",
"terser": "^5.7.1",
2022-02-08 20:10:54 +03:00
"ts-node": "^10.5.0",
"typescript": "^4.5.2"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/swc"
},
"optionalDependencies": {
"@swc/core-android-arm-eabi": "1.2.146",
"@swc/core-android-arm64": "1.2.146",
"@swc/core-darwin-arm64": "1.2.146",
"@swc/core-darwin-x64": "1.2.146",
"@swc/core-freebsd-x64": "1.2.146",
"@swc/core-linux-arm-gnueabihf": "1.2.146",
"@swc/core-linux-arm64-gnu": "1.2.146",
"@swc/core-linux-arm64-musl": "1.2.146",
"@swc/core-linux-x64-gnu": "1.2.146",
"@swc/core-linux-x64-musl": "1.2.146",
"@swc/core-win32-arm64-msvc": "1.2.146",
"@swc/core-win32-ia32-msvc": "1.2.146",
"@swc/core-win32-x64-msvc": "1.2.146"
}
2022-03-16 11:14:41 +03:00
}