/
package.json
165 lines (165 loc) · 3.82 KB
/
package.json
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "vitest",
"type": "module",
"version": "0.25.3",
"description": "A blazing fast unit test framework powered by Vite",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/vitest-dev/vitest#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/vitest-dev/vitest.git",
"directory": "packages/vitest"
},
"bugs": {
"url": "https://github.com/vitest-dev/vitest/issues"
},
"keywords": [
"vite",
"vite-node",
"vitest",
"test",
"jest"
],
"exports": {
".": {
"require": {
"types": "./index.d.cts",
"default": "./index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./*": "./*",
"./globals": {
"types": "./globals.d.ts"
},
"./importMeta": {
"types": "./importMeta.d.ts"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.js"
},
"./environments": {
"types": "./dist/environments.d.ts",
"import": "./dist/environments.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
},
"./config": {
"types": "./config.d.ts",
"require": "./dist/config.cjs",
"import": "./dist/config.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"vitest": "./vitest.mjs"
},
"files": [
"dist",
"bin",
"*.d.ts",
"*.d.cts",
"*.mjs",
"*.cjs"
],
"engines": {
"node": ">=v14.16.0"
},
"scripts": {
"build": "rimraf dist && rollup -c",
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"@edge-runtime/vm": "*",
"@vitest/browser": "*",
"@vitest/ui": "*",
"happy-dom": "*",
"jsdom": "*"
},
"peerDependenciesMeta": {
"@vitest/ui": {
"optional": true
},
"@vitest/browser": {
"optional": true
},
"happy-dom": {
"optional": true
},
"jsdom": {
"optional": true
},
"@edge-runtime/vm": {
"optional": true
}
},
"dependencies": {
"@types/chai": "^4.3.3",
"@types/chai-subset": "^1.3.3",
"@types/node": "*",
"acorn": "^8.8.0",
"acorn-walk": "^8.2.0",
"chai": "^4.3.6",
"debug": "^4.3.4",
"local-pkg": "^0.4.2",
"source-map": "^0.6.1",
"strip-literal": "^1.0.0",
"tinybench": "^2.3.1",
"tinypool": "^0.3.0",
"tinyspy": "^1.0.2",
"vite": "^3.0.0"
},
"devDependencies": {
"@antfu/install-pkg": "^0.1.1",
"@edge-runtime/vm": "2.0.1",
"@sinonjs/fake-timers": "^10.0.0",
"@types/diff": "^5.0.2",
"@types/jsdom": "^20.0.0",
"@types/micromatch": "^4.0.2",
"@types/natural-compare": "^1.4.1",
"@types/prompts": "^2.4.1",
"@types/sinonjs__fake-timers": "^8.1.2",
"@vitest/ui": "workspace:*",
"birpc": "^0.2.3",
"cac": "^6.7.14",
"chai-subset": "^1.6.0",
"cli-truncate": "^3.1.0",
"diff": "^5.1.0",
"event-target-polyfill": "^0.0.3",
"execa": "^6.1.0",
"expect-type": "^0.15.0",
"fast-glob": "^3.2.12",
"find-up": "^6.3.0",
"flatted": "^3.2.7",
"get-tsconfig": "^4.2.0",
"happy-dom": "^7.6.6",
"jsdom": "^20.0.2",
"log-update": "^5.0.1",
"magic-string": "^0.26.7",
"micromatch": "^4.0.5",
"mlly": "^1.0.0",
"natural-compare": "^1.4.0",
"p-limit": "^4.0.0",
"pathe": "^0.2.0",
"picocolors": "^1.0.0",
"pkg-types": "^0.3.6",
"pretty-format": "^27.5.1",
"prompts": "^2.4.2",
"rollup": "^2.79.1",
"strip-ansi": "^7.0.1",
"typescript": "^4.8.4",
"vite-node": "workspace:*",
"ws": "^8.11.0"
}
}