UNPKG

@happy-dom/jest-environment

Version:
98 lines 2.51 kB
{ "name": "@happy-dom/jest-environment", "version": "20.9.0", "license": "MIT", "homepage": "https://github.com/capricorn86/happy-dom/tree/master/packages/@happy-dom/jest-environment", "repository": "https://github.com/capricorn86/happy-dom", "author": "David Ortner", "description": "Use Happy DOM as environment in Jest.", "main": "lib/index.js", "type": "module", "keywords": [ "jest", "environment", "jsdom", "dom", "browser", "custom", "elements", "web", "components", "html", "whatwg", "w3c" ], "publishConfig": { "access": "public" }, "scripts": { "compile": "tsc", "watch": "npm run compile && tsc -w --preserveWatchOutput", "test": "jest", "test:watch": "jest --watch", "test:debug": "node --inspect-brk ../../../node_modules/.bin/jest --runInBand --testTimeout 60000" }, "jest": { "transform": { "^.+\\.(ts|tsx)?$": [ "ts-jest", { "tsconfig": "./test/tsconfig.json" } ] }, "testMatch": [ "**/test/**/*.test.ts", "**/test/**/*.test.tsx" ], "testEnvironment": "./lib" }, "dependencies": { "happy-dom": "^20.9.0" }, "devDependencies": { "@jest/environment": "^30.0.0", "@jest/fake-timers": "^30.0.0", "@jest/types": "^30.0.0", "@types/node": ">=20.0.0", "@types/jest": "^30.0.0", "happy-dom": "^0.0.0", "jest": "^30.0.0", "jest-mock": "^30.0.0", "jest-util": "^30.0.0", "@angular/common": "^10.0.7", "@angular/compiler": "^10.0.7", "@angular/core": "^10.0.7", "@angular/platform-browser": "^10.0.7", "@angular/platform-browser-dynamic": "^10.0.7", "@lit/reactive-element": "^1.3.1", "@radix-ui/react-select": "^1.2.2", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.5.1", "@vue/test-utils": "^2.4.6", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "express": "^4.20.0", "glob": "^7.2.0", "jquery": "^3.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", "lit": "^3.3.0", "usehooks-ts": "^3.0.1", "rxjs": "^6.5.3", "ts-jest": "^29.1.1", "typescript": "^5.8.3", "vue": "^3.5.12", "zone.js": "^0.10.3" }, "peerDependencies": { "@jest/environment": ">=25.0.0", "@jest/fake-timers": ">=25.0.0", "@jest/types": ">=25.0.0", "jest-mock": ">=25.0.0", "jest-util": ">=25.0.0" }, "engines": { "node": ">=20.0.0" } }