2020-02-16 10:51:42 +03:00
|
|
|
{
|
2021-05-21 09:57:17 +03:00
|
|
|
"name": "@swc/core",
|
2023-10-26 03:06:58 +03:00
|
|
|
"version": "1.3.96-nightly-20231026.1",
|
2021-05-21 09:57:17 +03:00
|
|
|
"description": "Super-fast alternative for babel",
|
|
|
|
"homepage": "https://swc.rs",
|
|
|
|
"main": "./index.js",
|
|
|
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
2022-02-22 12:03:40 +03:00
|
|
|
"license": "Apache-2.0",
|
2021-05-21 09:57:17 +03:00
|
|
|
"keywords": [
|
|
|
|
"swc",
|
2021-10-19 11:25:57 +03:00
|
|
|
"swcpack",
|
2021-05-21 09:57:17 +03:00
|
|
|
"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",
|
2021-06-02 03:34:27 +03:00
|
|
|
"aarch64-unknown-linux-musl",
|
2022-11-03 03:42:42 +03:00
|
|
|
"aarch64-pc-windows-msvc"
|
2021-05-21 09:57:17 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.org/",
|
|
|
|
"access": "public"
|
|
|
|
},
|
2021-08-13 20:17:54 +03:00
|
|
|
"types": "./index.d.ts",
|
2021-05-21 09:57:17 +03:00
|
|
|
"scripts": {
|
2021-12-12 14:41:01 +03:00
|
|
|
"changelog": "git cliff --output CHANGELOG.md",
|
2023-10-12 08:21:01 +03:00
|
|
|
"setup": "husky install && git config feature.manyFiles true && node ./crates/swc_ecma_preset_env/scripts/copy-data.js",
|
2022-07-17 12:33:51 +03:00
|
|
|
"postinstall": "node postinstall.js",
|
2021-05-21 09:57:17 +03:00
|
|
|
"artifacts": "napi artifacts --dist scripts/npm",
|
|
|
|
"prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tagstyle npm",
|
2022-03-16 01:45:40 +03:00
|
|
|
"pack": "wasm-pack",
|
2021-10-31 04:04:18 +03:00
|
|
|
"build:ts": "tsc -d",
|
2022-08-16 09:01:49 +03:00
|
|
|
"build:wasm": "npm-run-all \"pack -- build ./bindings/binding_core_wasm --scope swc {1} -t {2} --features plugin\" --",
|
2022-08-24 08:23:27 +03:00
|
|
|
"build": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings -p binding_core_node --release",
|
|
|
|
"build:dev": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings -p binding_core_node",
|
2022-07-13 09:39:08 +03:00
|
|
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config ./node-swc/jest.config.js",
|
2021-05-21 09:57:17 +03:00
|
|
|
"version": "napi version -p scripts/npm"
|
|
|
|
},
|
2022-03-16 12:58:24 +03:00
|
|
|
"lint-staged": {
|
|
|
|
"*.toml": [
|
|
|
|
"taplo format"
|
|
|
|
],
|
|
|
|
"*.rs": [
|
2022-04-24 19:04:20 +03:00
|
|
|
"rustfmt --"
|
2022-05-04 17:25:28 +03:00
|
|
|
],
|
2023-09-23 02:48:27 +03:00
|
|
|
"*.json": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
2022-06-11 11:10:49 +03:00
|
|
|
"!(**/tests/**/*)*.js": [
|
2022-05-04 17:25:28 +03:00
|
|
|
"prettier --write"
|
|
|
|
],
|
2022-06-11 11:10:49 +03:00
|
|
|
"!(**/tests/**/*)*.ts": [
|
2022-05-04 17:25:28 +03:00
|
|
|
"prettier --write"
|
|
|
|
],
|
2022-06-11 11:10:49 +03:00
|
|
|
"!(**/tests/**/*)*.jsx": [
|
2022-05-04 17:25:28 +03:00
|
|
|
"prettier --write"
|
|
|
|
],
|
2022-06-11 11:10:49 +03:00
|
|
|
"!(**/tests/**/*)*.tsx": [
|
2022-05-04 17:25:28 +03:00
|
|
|
"prettier --write"
|
2022-03-16 12:58:24 +03:00
|
|
|
]
|
|
|
|
},
|
2021-05-21 09:57:17 +03:00
|
|
|
"devDependencies": {
|
2023-07-07 05:57:48 +03:00
|
|
|
"@babel/compat-data": "^7.22.6",
|
2021-05-21 09:57:17 +03:00
|
|
|
"@babel/core": "^7.13.16",
|
2022-09-26 12:12:42 +03:00
|
|
|
"@babel/generator": "^7.18.13",
|
2021-05-21 09:57:17 +03:00
|
|
|
"@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",
|
2023-01-06 02:43:32 +03:00
|
|
|
"@napi-rs/cli": "^2.14.1",
|
2022-11-03 06:04:13 +03:00
|
|
|
"@swc/core": "=1.2.220",
|
2023-04-04 13:27:43 +03:00
|
|
|
"@swc/helpers": "^0.5.0",
|
2023-05-15 06:17:31 +03:00
|
|
|
"@swc/plugin-jest": "latest",
|
2022-03-16 12:58:24 +03:00
|
|
|
"@taplo/cli": "^0.3.2",
|
2022-07-13 09:39:08 +03:00
|
|
|
"@types/jest": "^28.1.4",
|
2023-08-14 19:33:17 +03:00
|
|
|
"@types/node": "^20.5.0",
|
2022-09-06 15:37:58 +03:00
|
|
|
"@types/terser": "^3.12.0",
|
2021-11-25 14:16:46 +03:00
|
|
|
"acorn": "^8.6.0",
|
2021-11-26 09:04:41 +03:00
|
|
|
"acorn-jsx": "^5.3.2",
|
2021-05-21 09:57:17 +03:00
|
|
|
"axios": "^0.21.1",
|
|
|
|
"babel-plugin-transform-node-env-inline": "^0.4.3",
|
2021-11-26 09:04:41 +03:00
|
|
|
"benchmark": "^2.1.4",
|
2022-09-10 07:39:55 +03:00
|
|
|
"bootstrap": "^5.2.1",
|
2021-11-10 13:00:54 +03:00
|
|
|
"class-validator": "^0.13.1",
|
2021-05-27 09:10:23 +03:00
|
|
|
"core-js": "^2.6.11",
|
2023-07-07 05:57:48 +03:00
|
|
|
"core-js-compat": "^3.31.0",
|
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",
|
2021-12-11 10:59:21 +03:00
|
|
|
"expect": "^27.4.2",
|
2022-07-13 09:39:08 +03:00
|
|
|
"glob": "^8.0.3",
|
2021-10-19 11:25:57 +03:00
|
|
|
"husky": "^7.0.2",
|
2022-07-13 09:39:08 +03:00
|
|
|
"jest": "^28.1.2",
|
2022-05-17 10:34:47 +03:00
|
|
|
"js-beautify": "^1.14.3",
|
2022-03-16 12:58:24 +03:00
|
|
|
"lint-staged": "^12.3.6",
|
2021-05-21 09:57:17 +03:00
|
|
|
"lodash": "^4.17.21",
|
2021-12-11 10:59:21 +03:00
|
|
|
"mocha": "^9.1.3",
|
2022-03-16 01:45:40 +03:00
|
|
|
"npm-run-all": "^4.1.5",
|
2022-05-04 17:25:28 +03:00
|
|
|
"prettier": "^2.6.2",
|
2021-05-21 09:57:17 +03:00
|
|
|
"progress": "^2.0.3",
|
2021-10-14 16:48:14 +03:00
|
|
|
"prop-types": "^15.7.2",
|
|
|
|
"react": "^17.0.2",
|
2021-12-11 07:57:33 +03:00
|
|
|
"reflect-metadata": "^0.1.13",
|
2021-08-02 18:49:34 +03:00
|
|
|
"regenerator-runtime": "^0.13.9",
|
2021-05-21 09:57:17 +03:00
|
|
|
"source-map": "^0.7.3",
|
|
|
|
"source-map-support": "^0.5.19",
|
2021-08-02 18:49:34 +03:00
|
|
|
"sourcemap-validator": "^2.1.0",
|
2022-10-06 10:36:01 +03:00
|
|
|
"swc-plugin-coverage-instrument": "^0.0.12",
|
2021-08-03 18:52:47 +03:00
|
|
|
"terser": "^5.7.1",
|
2022-02-08 20:10:54 +03:00
|
|
|
"ts-node": "^10.5.0",
|
2021-12-24 05:21:24 +03:00
|
|
|
"typescript": "^4.5.2"
|
2021-05-21 09:57:17 +03:00
|
|
|
},
|
2023-03-31 09:15:21 +03:00
|
|
|
"peerDependencies": {
|
2023-04-04 13:27:43 +03:00
|
|
|
"@swc/helpers": "^0.5.0"
|
2023-03-31 09:15:21 +03:00
|
|
|
},
|
2023-04-06 08:28:08 +03:00
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"@swc/helpers": {
|
|
|
|
"optional": true
|
|
|
|
}
|
|
|
|
},
|
2021-05-21 09:57:17 +03:00
|
|
|
"funding": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/swc"
|
2022-03-01 11:41:45 +03:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2022-03-11 15:49:53 +03:00
|
|
|
"@swc/core-darwin-arm64": "1.2.146",
|
2022-03-01 11:41:45 +03:00
|
|
|
"@swc/core-darwin-x64": "1.2.146",
|
|
|
|
"@swc/core-linux-arm-gnueabihf": "1.2.146",
|
2022-03-11 15:49:53 +03:00
|
|
|
"@swc/core-linux-arm64-gnu": "1.2.146",
|
2022-03-01 11:41:45 +03:00
|
|
|
"@swc/core-linux-arm64-musl": "1.2.146",
|
2022-03-11 15:49:53 +03:00
|
|
|
"@swc/core-linux-x64-gnu": "1.2.146",
|
|
|
|
"@swc/core-linux-x64-musl": "1.2.146",
|
2022-03-01 11:41:45 +03:00
|
|
|
"@swc/core-win32-arm64-msvc": "1.2.146",
|
2022-03-11 15:49:53 +03:00
|
|
|
"@swc/core-win32-ia32-msvc": "1.2.146",
|
|
|
|
"@swc/core-win32-x64-msvc": "1.2.146"
|
2022-07-17 06:18:22 +03:00
|
|
|
},
|
|
|
|
"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",
|
2022-07-17 12:33:51 +03:00
|
|
|
"types.js",
|
2022-07-30 06:44:37 +03:00
|
|
|
"postinstall.js",
|
2022-08-16 09:01:49 +03:00
|
|
|
"bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
|
2022-10-10 16:07:25 +03:00
|
|
|
],
|
2023-08-18 09:24:49 +03:00
|
|
|
"packageManager": "yarn@3.5.0",
|
|
|
|
"dependencies": {
|
2023-09-23 02:48:27 +03:00
|
|
|
"@swc/counter": "^0.1.1",
|
|
|
|
"@swc/types": "^0.1.5"
|
2023-08-18 09:24:49 +03:00
|
|
|
}
|
2023-04-13 14:10:36 +03:00
|
|
|
}
|