-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.5 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.5 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
{
"name": "bun-test-env-dom",
"type": "module",
"version": "1.0.3",
"description": "bun-test-env-dom is a preload library that provides a ready-to-use DOM for testing",
"author": "JeongMin Oh",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/dev-five-git/bun-test-env-dom"
},
"main": "dist/index.cjs",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"bun",
"test",
"dom"
],
"devDependencies": {
"@biomejs/biome": "^2.3",
"@types/bun": "latest",
"@types/react": "^19.2.7",
"husky": "^9.1.7",
"typescript": "latest"
},
"dependencies": {
"@happy-dom/global-registrator": ">=20.0",
"@testing-library/dom": ">=10.4",
"@testing-library/jest-dom": ">=6.9",
"@testing-library/react": ">=16.3",
"@testing-library/user-event": ">=14.6"
},
"scripts": {
"lint:fix": "biome check --write .",
"lint": "biome check .",
"test": "bun test",
"build": "tsc && bun scripts/clean-dts.ts && bun build --target node src/index.ts --production --outfile dist/index.cjs --format cjs --packages external && bun build --target node src/index.ts --production --outfile dist/index.mjs --format esm --packages external",
"prepare": "bun run husky"
}
}