|
| 1 | +{ |
| 2 | + "name": "bun-test-env-dom", |
| 3 | + "type": "module", |
| 4 | + "version": "0.0.1", |
| 5 | + "description": "bun-test-env-dom is a preload library that provides a ready-to-use DOM for testing", |
| 6 | + "author": "JeongMin Oh", |
| 7 | + "license": "Apache-2.0", |
| 8 | + "repository": { |
| 9 | + "type": "git", |
| 10 | + "url": "https://github.com/dev-five-git/bun-test-env-dom" |
| 11 | + }, |
| 12 | + "main": "dist/index.cjs", |
| 13 | + "exports": { |
| 14 | + ".": { |
| 15 | + "import": { |
| 16 | + "types": "./dist/index.d.ts", |
| 17 | + "default": "./dist/index.mjs" |
| 18 | + }, |
| 19 | + "require": { |
| 20 | + "types": "./dist/index.d.ts", |
| 21 | + "default": "./dist/index.cjs" |
| 22 | + } |
| 23 | + } |
| 24 | + }, |
| 25 | + "types": "./dist/index.d.ts", |
| 26 | + "files": [ |
| 27 | + "dist" |
| 28 | + ], |
| 29 | + "keywords": [ |
| 30 | + "bun", |
| 31 | + "test", |
| 32 | + "dom" |
| 33 | + ], |
| 34 | + "devDependencies": { |
| 35 | + "@biomejs/biome": "^2.3", |
| 36 | + "@types/bun": "latest", |
| 37 | + "@types/react": "^19.2.7", |
| 38 | + "husky": "^9.1.7", |
| 39 | + "typescript": "latest" |
| 40 | + }, |
| 41 | + "dependencies": { |
| 42 | + "@happy-dom/global-registrator": ">=20.0", |
| 43 | + "@testing-library/dom": ">=10.4", |
| 44 | + "@testing-library/jest-dom": ">=6.9", |
| 45 | + "@testing-library/react": ">=16.3", |
| 46 | + "@testing-library/user-event": ">=14.6" |
| 47 | + }, |
| 48 | + "scripts": { |
| 49 | + "lint:fix": "biome check --write .", |
| 50 | + "lint": "biome check .", |
| 51 | + "test": "bun test", |
| 52 | + "build": "tsc && 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", |
| 53 | + "prepare": "bun run husky" |
| 54 | + } |
| 55 | +} |
0 commit comments