mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
51d0cef287
swc_ecma_ast: - Support TypeScript 4.3. (#1517) swc_ecma_parser: - Support new syntaxes from typescript 4.3. (#1517) swc_ecma_transforms_compat: - Fix '\\`' in template literals. (#1488) - `classes`: Fix super calls. (#1490) swc_ecma_transforms_module: - Respect `esModuleInterop` for dynamic imports. (#1480) swc_ecma_transforms_typescript: - `strip`: Remove `declare`-d namespaces. (#1508)
86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"name": "@swc/core",
|
|
"version": "1.2.52",
|
|
"description": "Super-fast alternative for babel",
|
|
"homepage": "https://swc.rs",
|
|
"main": "./index.js",
|
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"swc",
|
|
"spack",
|
|
"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",
|
|
"i686-pc-windows-msvc",
|
|
"aarch64-unknown-linux-gnu",
|
|
"armv7-unknown-linux-gnueabihf",
|
|
"aarch64-apple-darwin",
|
|
"aarch64-linux-android"
|
|
]
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"@node-rs/helper": "^1.0.0"
|
|
},
|
|
"types": "./lib/index.d.ts",
|
|
"scripts": {
|
|
"artifacts": "napi artifacts --dist scripts/npm",
|
|
"prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tagstyle npm",
|
|
"build": "tsc -d && napi build --platform --release --cargo-name node --cargo-flags=\"-p node\"",
|
|
"build:dev": "tsc -d && napi build --platform --cargo-name node --cargo-flags=\"-p node\"",
|
|
"test": "jest node-swc/__tests__",
|
|
"version": "napi version -p scripts/npm"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/plugin-proposal-class-properties": "^7.3.3",
|
|
"@babel/plugin-proposal-decorators": "^7.3.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
|
|
"@babel/preset-env": "^7.2.3",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-typescript": "^7.1.0",
|
|
"@napi-rs/cli": "^1.0.2",
|
|
"@swc/helpers": "^0.2.2",
|
|
"@types/browserslist": "^4.4.0",
|
|
"@types/jest": "^25.2.3",
|
|
"@types/node": "^14.0.5",
|
|
"axios": "^0.21.1",
|
|
"babel-plugin-transform-node-env-inline": "^0.4.3",
|
|
"browserslist": "^4.16.3",
|
|
"jest": "^23.6.0",
|
|
"lodash": "^4.17.11",
|
|
"progress": "^2.0.3",
|
|
"source-map": "^0.7.3",
|
|
"sourcemap-validator": "^1.1.1",
|
|
"typescript": "^4.2.0-beta"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/swc"
|
|
}
|
|
}
|