UNPKG

@happy-dom/jest-environment

Version:
94 lines 2.77 kB
{ "name": "@happy-dom/jest-environment", "version": "17.4.4", "license": "MIT", "homepage": "https://github.com/capricorn86/happy-dom/tree/master/packages/jest-environment", "repository": "https://github.com/capricorn86/happy-dom", "author": "David Ortner", "description": "Use Happy DOM as environment in Jest.", "main": "lib/index.js", "keywords": [ "jest", "environment", "jsdom", "dom", "browser", "custom", "elements", "web", "components", "html", "whatwg", "w3c" ], "publishConfig": { "access": "public" }, "scripts": { "compile": "node ./bin/build-lit-ts-config.cjs && tsc --project tmp/tsconfig.lit-reactive-element.json && tsc --project tmp/tsconfig.lit-element.json && tsc --project tmp/tsconfig.lit-html.json && tsc --project tmp/tsconfig.lit.json && node ./bin/transform-lit-require.cjs && node ./bin/copy-tsdef-for-lit.cjs && node ./bin/copy-package-json-for-lit.cjs && 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": { "@jest/environment": "^29.4.0", "@jest/fake-timers": "^29.4.0", "@jest/types": "^29.4.0", "happy-dom": "^17.4.4", "jest-mock": "^29.4.0", "jest-util": "^29.4.0" }, "devDependencies": { "@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/jest": "29.5.2", "@types/node": "^16.11.7", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@typescript-eslint/eslint-plugin": "^5.16.0", "@typescript-eslint/parser": "^5.16.0", "express": "^4.20.0", "glob": "^7.2.0", "jest": "^29.4.0", "jquery": "^3.6.0", "lit": "^2.2.1", "lit-element": "^3.2.0", "lit-html": "^2.2.1", "prettier": "^2.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", "usehooks-ts": "^3.0.1", "rxjs": "^6.5.3", "ts-jest": "^29.1.1", "typescript": "^5.0.4", "vue": "^3.5.12", "zone.js": "^0.10.3" }, "engines": { "node": ">=18.0.0" } }