2020-02-16 10:51:42 +03:00
|
|
|
{
|
2024-05-18 03:23:06 +03:00
|
|
|
"name": "@swc/workspace",
|
|
|
|
"packageManager": "yarn@4.0.2",
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
2024-06-16 13:29:18 +03:00
|
|
|
"./.github/bot",
|
2024-06-17 02:58:52 +03:00
|
|
|
"./.github/swc-ecosystem-ci",
|
2024-05-28 17:49:32 +03:00
|
|
|
"./packages/*",
|
2024-05-29 17:07:38 +03:00
|
|
|
"./packages/core/scripts/npm/*",
|
|
|
|
"./packages/minifier/scripts/npm/*",
|
2024-05-28 17:59:47 +03:00
|
|
|
"./bindings/*",
|
|
|
|
"./bindings/binding_core_wasm/*"
|
2021-05-21 09:57:17 +03:00
|
|
|
],
|
|
|
|
"scripts": {
|
2024-05-18 03:53:47 +03:00
|
|
|
"changelog": "git cliff --output CHANGELOG.md",
|
2024-07-24 07:40:12 +03:00
|
|
|
"prepare": "husky install . && git config feature.manyFiles true && node ./crates/swc_ecma_preset_env/scripts/copy-data.js",
|
2024-05-18 03:23:06 +03:00
|
|
|
"build": "cd ./packages/core && yarn build",
|
|
|
|
"build:dev": "cd ./packages/core && yarn build:dev",
|
|
|
|
"build:ts": "cd ./packages/core && yarn build:ts",
|
2024-08-20 11:29:43 +03:00
|
|
|
"test": "cd ./packages/core && yarn test",
|
|
|
|
"test:core": "cd ./packages/core && yarn test",
|
|
|
|
"test:html": "cd ./packages/html && yarn test"
|
2022-03-16 12:58:24 +03:00
|
|
|
},
|
2021-05-21 09:57:17 +03:00
|
|
|
"devDependencies": {
|
2024-08-12 03:29:16 +03:00
|
|
|
"@babel/compat-data": "^7.25.2",
|
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",
|
2024-05-18 03:23:06 +03:00
|
|
|
"@swc/helpers": "workspace:^",
|
2024-02-08 08:58:09 +03:00
|
|
|
"@swc/plugin-jest": "^1.5.117",
|
2023-12-11 07:45:04 +03:00
|
|
|
"@taplo/cli": "^0.5.2",
|
|
|
|
"@types/jest": "^29.5.11",
|
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",
|
2024-08-12 03:29:16 +03:00
|
|
|
"core-js-compat": "^3.38.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",
|
2023-12-11 07:45:04 +03:00
|
|
|
"jest": "^29.7.0",
|
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",
|
2024-07-22 10:05:22 +03:00
|
|
|
"swc-plugin-coverage-instrument": "^0.0.24",
|
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",
|
2024-07-14 07:19:15 +03:00
|
|
|
"typescript": "^5.3.3",
|
|
|
|
"yaml": "^2.4.5",
|
|
|
|
"zx": "^8.1.4"
|
2021-05-21 09:57:17 +03:00
|
|
|
},
|
2024-05-18 03:23:06 +03:00
|
|
|
"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"
|
|
|
|
]
|
2024-05-20 05:49:06 +03:00
|
|
|
},
|
2024-06-14 16:57:08 +03:00
|
|
|
"version": "1.5.30-nightly-20240614.2"
|
2023-04-13 14:10:36 +03:00
|
|
|
}
|