swc/package.json
Donny/강동윤 43c8cda31a
fix(es/renamer): Fix renamer (#3139)
swc_ecma_transforms_base:
 - `resolver`: Ignore named export with source.
 - `hygiene`: Ignore named export with source. (Closes #2924, Closes #3114)

swc_ecma_minifier:
 - Handle `export default` declarations as declaration instead of expressions. (Closes #2717)
 - Don't override already-processed identifiers. (Closes #2988)

swc_bundler:
 - Adjust the syntax context for named re-exports.
2021-12-29 13:44:48 +09:00

110 lines
3.6 KiB
JSON

{
"name": "@swc/core",
"version": "1.2.124",
"description": "Super-fast alternative for babel",
"homepage": "https://swc.rs",
"main": "./index.js",
"author": "강동윤 <kdy1997.dev@gmail.com>",
"license": "Apache-2.0 AND MIT",
"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": {
"name": "swc",
"triples": {
"defaults": true,
"additional": [
"x86_64-unknown-linux-musl",
"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"
},
"dependencies": {
"@node-rs/helper": "^1.0.0"
},
"optionalDependencies": {},
"types": "./index.d.ts",
"scripts": {
"changelog": "git cliff --output CHANGELOG.md",
"prepare": "husky install && git config feature.manyFiles true",
"artifacts": "napi artifacts --dist scripts/npm",
"prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tagstyle npm",
"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",
"build:ts": "tsc -d",
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest node-swc/__tests__",
"version": "napi version -p scripts/npm"
},
"devDependencies": {
"@babel/compat-data": "^7.16.4",
"@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",
"@napi-rs/cli": "^2.0.0",
"@swc/helpers": "^0.2.10",
"@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",
"class-validator": "^0.13.1",
"core-js": "^2.6.11",
"cross-env": "^7.0.3",
"cspell": "^5.12.3",
"expect": "^27.4.2",
"husky": "^7.0.2",
"jest": "^27.0.1",
"lodash": "^4.17.21",
"mocha": "^9.1.3",
"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",
"typescript": "^4.5.2"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/swc"
}
}