mirror of
https://github.com/swc-project/swc.git
synced 2024-11-29 22:51:38 +03:00
18d6277e4c
**Description:** Compilation time of browserslist-rs has beed reduced by 32%. See: https://github.com/browserslist/browserslist-rs/pull/23 But, it's still slower that oxc-browserslist: ![image](https://github.com/swc-project/swc/assets/17216317/44602603-e33f-442e-9ee0-242061089397) while browserslist-rs costs about 3.9s. **Related issue:** Close #9014 --------- Co-authored-by: 강동윤 (Donny) <kdy1997.dev@gmail.com>
98 lines
3.1 KiB
JSON
98 lines
3.1 KiB
JSON
{
|
|
"name": "@swc/workspace",
|
|
"packageManager": "yarn@4.0.2",
|
|
"private": true,
|
|
"workspaces": [
|
|
"./.github/bot",
|
|
"./.github/swc-ecosystem-ci",
|
|
"./packages/*",
|
|
"./packages/core/scripts/npm/*",
|
|
"./packages/minifier/scripts/npm/*",
|
|
"./bindings/*",
|
|
"./bindings/binding_core_wasm/*"
|
|
],
|
|
"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",
|
|
"build": "cd ./packages/core && yarn build",
|
|
"build:dev": "cd ./packages/core && yarn build:dev",
|
|
"build:ts": "cd ./packages/core && yarn build:ts",
|
|
"test": "cd ./packages/core && yarn test"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/compat-data": "^7.24.7",
|
|
"@babel/core": "^7.13.16",
|
|
"@babel/generator": "^7.18.13",
|
|
"@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",
|
|
"@swc/helpers": "workspace:^",
|
|
"@swc/plugin-jest": "^1.5.117",
|
|
"@taplo/cli": "^0.5.2",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^20.5.0",
|
|
"@types/terser": "^3.12.0",
|
|
"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",
|
|
"bootstrap": "^5.2.1",
|
|
"class-validator": "^0.13.1",
|
|
"core-js": "^2.6.11",
|
|
"core-js-compat": "^3.37.1",
|
|
"cross-env": "^7.0.3",
|
|
"cspell": "^5.12.3",
|
|
"expect": "^27.4.2",
|
|
"glob": "^8.0.3",
|
|
"husky": "^7.0.2",
|
|
"jest": "^29.7.0",
|
|
"js-beautify": "^1.14.3",
|
|
"lint-staged": "^12.3.6",
|
|
"lodash": "^4.17.21",
|
|
"mocha": "^9.1.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.6.2",
|
|
"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",
|
|
"swc-plugin-coverage-instrument": "^0.0.12",
|
|
"terser": "^5.7.1",
|
|
"ts-node": "^10.5.0",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.toml": [
|
|
"taplo format"
|
|
],
|
|
"*.rs": [
|
|
"rustfmt --"
|
|
],
|
|
"*.json": [
|
|
"prettier --write"
|
|
],
|
|
"!(**/tests/**/*)*.js": [
|
|
"prettier --write"
|
|
],
|
|
"!(**/tests/**/*)*.ts": [
|
|
"prettier --write"
|
|
],
|
|
"!(**/tests/**/*)*.jsx": [
|
|
"prettier --write"
|
|
],
|
|
"!(**/tests/**/*)*.tsx": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"version": "1.5.30-nightly-20240614.2"
|
|
}
|