forked from swc-project/swc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.42 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"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; git cliff --output CHANGELOG-CORE.md --config cliff-core.toml",
"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",
"test:core": "cd ./packages/core && yarn test",
"test:html": "cd ./packages/html && yarn test",
"test:react-compiler": "cd ./packages/react-compiler && yarn test"
},
"devDependencies": {
"@babel/compat-data": "^7.27.5",
"@babel/core": "^7.27.4",
"@babel/generator": "^7.27.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.27.1",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@babel/types": "^7.27.6",
"@swc/helpers": "workspace:^",
"@swc/plugin-jest": "^7.0.3",
"@taplo/cli": "^0.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^24.0.0",
"@types/terser": "^3.12.0",
"acorn": "^8.15.0",
"acorn-jsx": "^5.3.2",
"axios": "^1.9.0",
"babel-plugin-transform-node-env-inline": "^0.4.3",
"benchmark": "^2.1.4",
"bootstrap": "^5.3.6",
"class-validator": "^0.14.2",
"core-js": "^3.43.0",
"core-js-compat": "^3.43.0",
"cross-env": "^7.0.3",
"cspell": "^9.0.2",
"expect": "^30.0.0",
"glob": "^11.0.2",
"husky": "^9.1.7",
"jest": "^30.0.0",
"js-beautify": "^1.15.4",
"lint-staged": "^16.1.0",
"lodash": "^4.17.21",
"mocha": "^11.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.5.3",
"progress": "^2.0.3",
"prop-types": "^15.8.1",
"react": "^19.1.0",
"reflect-metadata": "^0.2.2",
"regenerator-runtime": "^0.14.1",
"source-map": "^0.7.4",
"source-map-support": "^0.5.21",
"sourcemap-validator": "^2.1.0",
"swc-plugin-coverage-instrument": "^0.0.27",
"terser": "^5.42.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"yaml": "^2.8.0",
"zx": "^8.5.5"
},
"lint-staged": {
"*.toml": [
"taplo format"
],
"*.rs": [
"cargo fmt --"
],
"*.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",
"engines": {
"node": ">= 20"
}
}