2020-02-16 10:51:42 +03:00
|
|
|
{
|
2021-05-21 09:57:17 +03:00
|
|
|
"name": "@swc/core",
|
2022-04-17 20:52:52 +03:00
|
|
|
"version": "1.2.168",
|
2021-05-21 09:57:17 +03:00
|
|
|
"description": "Super-fast alternative for babel",
|
|
|
|
"homepage": "https://swc.rs",
|
|
|
|
"main": "./index.js",
|
2022-03-01 11:41:45 +03:00
|
|
|
"bin": {
|
2022-03-02 06:23:01 +03:00
|
|
|
"swcx": "run_swcx.js"
|
2022-03-01 11:41:45 +03:00
|
|
|
},
|
2021-05-21 09:57:17 +03:00
|
|
|
"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",
|
2021-12-02 06:57:27 +03:00
|
|
|
"x86_64-unknown-freebsd",
|
2021-05-21 09:57:17 +03:00
|
|
|
"i686-pc-windows-msvc",
|
|
|
|
"aarch64-unknown-linux-gnu",
|
|
|
|
"armv7-unknown-linux-gnueabihf",
|
|
|
|
"aarch64-apple-darwin",
|
2021-05-28 06:47:02 +03:00
|
|
|
"aarch64-linux-android",
|
2021-06-02 03:34:27 +03:00
|
|
|
"aarch64-unknown-linux-musl",
|
2021-12-24 05:21:24 +03:00
|
|
|
"aarch64-pc-windows-msvc",
|
|
|
|
"armv7-linux-androideabi"
|
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",
|
2022-03-12 10:45:25 +03:00
|
|
|
"prepare": "husky install && git config feature.manyFiles true && node ./crates/swc_ecma_preset_env/scripts/copy-data.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-03-16 01:45:40 +03:00
|
|
|
"build:wasm": "npm-run-all \"pack -- build ./crates/wasm --scope swc {1} -t {2} --features plugin\" --",
|
2022-04-15 16:47:44 +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 -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 -p binding_core_node",
|
2021-07-06 08:29:45 +03:00
|
|
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest node-swc/__tests__",
|
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": [
|
|
|
|
"cargo fmt --"
|
|
|
|
]
|
|
|
|
},
|
2021-05-21 09:57:17 +03:00
|
|
|
"devDependencies": {
|
2022-03-11 15:49:53 +03:00
|
|
|
"@babel/compat-data": "^7.17.0",
|
2021-05-21 09:57:17 +03:00
|
|
|
"@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",
|
2021-05-21 09:57:17 +03:00
|
|
|
"@swc/helpers": "^0.2.10",
|
2022-03-16 12:58:24 +03:00
|
|
|
"@taplo/cli": "^0.3.2",
|
2021-05-27 05:59:04 +03:00
|
|
|
"@types/jest": "^26.0.23",
|
2021-05-21 09:57:17 +03:00
|
|
|
"@types/node": "^14.14.41",
|
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",
|
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",
|
2022-03-11 15:49:53 +03:00
|
|
|
"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",
|
2021-12-11 10:59:21 +03:00
|
|
|
"expect": "^27.4.2",
|
2021-10-19 11:25:57 +03:00
|
|
|
"husky": "^7.0.2",
|
2021-05-27 05:59:04 +03:00
|
|
|
"jest": "^27.0.1",
|
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",
|
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",
|
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
|
|
|
},
|
|
|
|
"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-android-arm-eabi": "1.2.146",
|
|
|
|
"@swc/core-android-arm64": "1.2.146",
|
|
|
|
"@swc/core-darwin-arm64": "1.2.146",
|
2022-03-01 11:41:45 +03:00
|
|
|
"@swc/core-darwin-x64": "1.2.146",
|
|
|
|
"@swc/core-freebsd-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"
|
2020-12-30 08:30:09 +03:00
|
|
|
}
|
2022-03-16 11:14:41 +03:00
|
|
|
}
|