-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 4.57 KB
/
package.json
File metadata and controls
144 lines (144 loc) · 4.57 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "jiti",
"version": "2.6.1",
"description": "Runtime typescript and ESM support for Node.js",
"repository": "unjs/jiti",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": {
"types": "./lib/jiti.d.mts",
"default": "./lib/jiti.mjs"
},
"require": {
"types": "./lib/jiti.d.cts",
"default": "./lib/jiti.cjs"
}
},
"./register": {
"types": "./lib/jiti-register.d.mts",
"import": "./lib/jiti-register.mjs"
},
"./native": {
"types": "./lib/jiti.d.mts",
"import": "./lib/jiti-native.mjs"
},
"./static": {
"types": "./lib/jiti.d.mts",
"import": "./lib/jiti-static.mjs"
},
"./package.json": "./package.json"
},
"main": "./lib/jiti.cjs",
"module": "./lib/jiti.mjs",
"types": "./lib/jiti.d.cts",
"typesVersions": {
"*": {
"register": [
"./lib/jiti-register.d.mts"
],
"native": [
"./lib/jiti.d.mts"
],
"static": [
"./lib/jiti.d.mts"
]
}
},
"bin": {
"jiti": "./lib/jiti-cli.mjs"
},
"files": [
"lib",
"dist",
"register.cjs"
],
"scripts": {
"bench": "node test/bench.mjs && deno -A test/bench.mjs && bun --bun test/bench.mjs",
"build": "pnpm clean && pnpm rspack",
"clean": "rm -rf dist",
"dev": "pnpm clean && pnpm rspack --watch",
"jiti": "JITI_DEBUG=1 JITI_JSX=1 lib/jiti-cli.mjs",
"lint": "eslint . && prettier -c src lib test stubs",
"lint:fix": "eslint --fix . && prettier -w src lib test stubs",
"prepack": "pnpm build",
"release": "pnpm build && pnpm test && changelogen --release --push --publish",
"test": "pnpm lint && pnpm test:types && vitest run --coverage && pnpm test:node-register && pnpm test:bun && pnpm test:native",
"test:bun": "bun --bun test test/bun",
"test:native": "pnpm test:native:bun && pnpm test:native:node && pnpm test:native:deno",
"test:native:bun": "bun --bun test test/native/bun.test.ts",
"test:native:deno": "deno test -A --no-check test/native/deno.test.ts",
"test:native:node": "node --test --experimental-strip-types test/native/node.test.ts",
"test:node-register": "JITI_JSX=1 node --test test/node-register.test.mjs",
"test:types": "tsgo --noEmit"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/helper-module-imports": "^7.28.6",
"@babel/helper-module-transforms": "^7.28.6",
"@babel/helper-plugin-utils": "^7.28.6",
"@babel/helper-simple-access": "^7.27.1",
"@babel/plugin-proposal-decorators": "^7.29.0",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-transform-explicit-resource-management": "^7.28.6",
"@babel/plugin-syntax-import-assertions": "^7.28.6",
"@babel/plugin-syntax-jsx": "^7.28.6",
"@babel/plugin-transform-export-namespace-from": "^7.27.1",
"@babel/plugin-transform-react-jsx": "^7.28.6",
"@babel/plugin-transform-typescript": "^7.28.6",
"@babel/preset-typescript": "^7.28.5",
"@babel/template": "^7.28.6",
"@babel/traverse": "^7.29.0",
"@babel/types": "^7.29.0",
"@rspack/cli": "^1.7.6",
"@rspack/core": "^1.7.6",
"@types/babel__core": "^7.20.5",
"@types/babel__helper-module-imports": "^7.18.3",
"@types/babel__helper-plugin-utils": "^7.10.3",
"@types/babel__template": "^7.4.4",
"@types/babel__traverse": "^7.28.0",
"@types/node": "^25.3.2",
"@typescript/native-preview": "7.0.0-dev.20260227.1",
"@vitest/coverage-v8": "^4.0.18",
"acorn": "^8.16.0",
"babel-plugin-parameter-decorator": "^1.0.16",
"changelogen": "^0.6.2",
"config": "^4.4.1",
"consola": "^3.4.2",
"defu": "^6.1.4",
"destr": "^2.0.5",
"escape-string-regexp": "^5.0.0",
"eslint": "^10.0.2",
"eslint-config-unjs": "^0.6.2",
"estree-walker": "^3.0.3",
"etag": "^1.8.1",
"fast-glob": "^3.3.3",
"get-tsconfig": "^4.13.6",
"is-installed-globally": "^1.0.0",
"mime": "^4.1.0",
"mitata": "^1.0.34",
"mlly": "^1.8.0",
"moment-timezone": "^0.6.0",
"nano-jsx": "^0.2.1",
"pathe": "^2.0.3",
"pkg-types": "^2.3.0",
"preact": "^10.28.4",
"preact-render-to-string": "^6.6.6",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"reflect-metadata": "^0.2.2",
"solid-js": "^1.9.11",
"std-env": "^4.0.0-rc.1",
"terser-webpack-plugin": "^5.3.16",
"tinyexec": "^1.0.2",
"ts-loader": "^9.5.4",
"typescript": "^5.9.3",
"vitest": "^4.0.18",
"vue": "^3.5.29",
"yoctocolors": "^2.1.2",
"zod": "^4.3.6"
},
"packageManager": "pnpm@10.30.3"
}