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.41 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 3.41 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": "^8.0.0",
"@babel/core": "^8.0.1",
"@babel/generator": "^8.0.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^8.0.2",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^8.0.2",
"@babel/preset-react": "^8.0.1",
"@babel/preset-typescript": "^8.0.1",
"@babel/types": "^8.0.4",
"@swc/helpers": "workspace:^",
"@swc/plugin-jest": "^12.15.0",
"@taplo/cli": "^0.7.0",
"@types/jest": "^30.0.0",
"@types/node": "^26.1.1",
"@types/terser": "^3.12.0",
"acorn": "^8.17.0",
"acorn-jsx": "^5.3.2",
"axios": "^1.18.1",
"babel-plugin-transform-node-env-inline": "^0.4.3",
"benchmark": "^2.1.4",
"bootstrap": "^5.3.8",
"class-validator": "^0.15.1",
"core-js": "^3.49.0",
"core-js-compat": "^3.49.0",
"cross-env": "^10.1.0",
"cspell": "^10.0.1",
"expect": "^30.4.1",
"glob": "^13.0.6",
"husky": "^9.1.7",
"jest": "^30.4.2",
"js-beautify": "^2.0.3",
"lint-staged": "^17.1.0",
"lodash": "^4.18.1",
"mocha": "^11.7.6",
"npm-run-all": "^4.1.5",
"prettier": "^3.9.5",
"progress": "^2.0.3",
"prop-types": "^15.8.1",
"react": "^19.2.7",
"reflect-metadata": "^0.2.2",
"regenerator-runtime": "^0.14.1",
"source-map": "^0.7.6",
"source-map-support": "^0.5.21",
"sourcemap-validator": "^2.1.0",
"swc-plugin-coverage-instrument": "^0.0.32",
"terser": "^5.49.0",
"ts-node": "^10.9.2",
"typescript": "^7.0.2",
"yaml": "^2.9.0",
"zx": "^8.8.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"
}
}