{ "name": "happy-dom", "version": "13.10.1", "license": "MIT", "homepage": "https://github.com/capricorn86/happy-dom", "repository": "https://github.com/capricorn86/happy-dom", "author": "David Ortner", "description": "Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.", "main": "lib/index.js", "type": "module", "exports": { ".": { "import": "./lib/index.js", "require": "./cjs/index.cjs", "default": "./lib/index.js" }, "./lib/*.js": { "import": "./lib/*.js", "require": "./cjs/*.cjs", "default": "./lib/*.js" }, "./lib/*.ts": { "import": "./lib/*.ts", "require": "./cjs/*.ts", "default": "./lib/*.ts" }, "./lib/*.map": { "import": "./lib/*.map", "require": "./cjs/*.map", "default": "./lib/*.map" }, "./cjs/*.cjs": { "import": "./cjs/*.cjs", "require": "./cjs/*.cjs", "default": "./cjs/*.cjs" }, "./cjs/*.ts": { "import": "./cjs/*.ts", "require": "./cjs/*.ts", "default": "./cjs/*.ts" }, "./cjs/*.map": { "import": "./cjs/*.map", "require": "./cjs/*.map", "default": "./cjs/*.map" }, "./src/*.ts": "./src/*.ts", "./package.json": "./package.json", "./.eslintrc.cjs": "./.eslintrc.cjs", "./.prettierrc.cjs": "./.prettierrc.cjs" }, "keywords": [ "jsdom", "dom", "browser", "custom", "elements", "web", "components", "html", "whatwg", "w3c" ], "publishConfig": { "access": "public" }, "scripts": { "compile": "tsc && rm -rf ./cjs && tsc --moduleResolution Node --module CommonJS --outDir cjs && npm run change-cjs-file-extension && npm run build-version-file", "change-cjs-file-extension": "node ./bin/change-file-extension.cjs --dir=./cjs --fromExt=.js --toExt=.cjs", "build-version-file": "node ./bin/build-version-file.cjs", "watch": "tsc -w --preserveWatchOutput", "test": "vitest run --singleThread", "test:ui": "vitest --ui", "test:watch": "vitest --singleThread", "test:debug": "vitest run --inspect-brk --threads=false" }, "dependencies": { "entities": "^4.5.0", "webidl-conversions": "^7.0.0", "whatwg-mimetype": "^3.0.0" }, "devDependencies": { "@types/node": "^16.11.7", "@vitest/ui": "^0.33.0", "@webref/css": "6.6.2", "prettier": "^2.6.0", "typescript": "^5.0.4", "vitest": "^0.32.4" }, "engines": { "node": ">=16.0.0" } }