-
Notifications
You must be signed in to change notification settings - Fork 409
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.05 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.05 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
{
"name": "@modern-js/babel-preset",
"version": "2.68.1",
"description": "The babel config of Modern.js.",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/modern.js",
"directory": "packages/cli/babel-preset"
},
"license": "MIT",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"jsnext:source": "./src/index.ts",
"default": "./dist/index.js"
},
"./web": {
"types": "./dist/web.d.ts",
"jsnext:source": "./src/web.ts",
"default": "./dist/web.js"
},
"./node": {
"types": "./dist/node.d.ts",
"jsnext:source": "./src/node.ts",
"default": "./dist/node.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
".": [
"./dist/index.d.ts"
],
"web": [
"./dist/web.d.ts"
],
"node": [
"./dist/node.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "modern-lib build",
"dev": "modern-lib build --watch",
"test": "rstest run",
"test:watch": "rstest dev"
},
"dependencies": {
"@babel/core": "^7.28.5",
"@babel/plugin-proposal-decorators": "^7.28.0",
"@babel/plugin-proposal-export-default-from": "^7.27.1",
"@babel/plugin-proposal-partial-application": "^7.27.1",
"@babel/plugin-proposal-pipeline-operator": "^7.27.1",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@babel/runtime": "^7.28.4",
"@babel/types": "^7.28.5",
"@rsbuild/plugin-babel": "1.0.6",
"@swc/helpers": "^0.5.17",
"@types/babel__core": "^7.20.5",
"babel-plugin-dynamic-import-node": "2.3.3",
"core-js": "~3.46.0"
},
"devDependencies": {
"@modern-js/tsconfig": "workspace:*",
"@scripts/build": "workspace:*",
"@scripts/rstest-config": "workspace:*",
"@types/node": "^20",
"typescript": "^5.3.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}