@happy-dom/global-registrator
Version:
Use Happy DOM globally in a Node.js environment for testing.
48 lines • 1.25 kB
JSON
{
"name": "@happy-dom/global-registrator",
"version": "20.10.1",
"license": "MIT",
"homepage": "https://github.com/capricorn86/happy-dom/tree/master/packages/global-registrator",
"repository": "https://github.com/capricorn86/happy-dom",
"author": "David Ortner",
"description": "Use Happy DOM globally in a Node.js environment for testing.",
"main": "lib/index.js",
"type": "module",
"keywords": [
"jsdom",
"happy",
"dom",
"webcomponents",
"web",
"component",
"custom",
"elements",
"global",
"register",
"registrator"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"compile": "tsc",
"watch": "tsc -w --preserveWatchOutput",
"test": "npm run test:node && npm run test:bun",
"test:debug": "tsc --project ./test/node && cd ./tmp && ls | node --inspect-brk --test",
"test:node": "tsc --project ./test/node && cd ./tmp && ls | node --test",
"test:bun": "bun test ./test/bun/Bun.test.js"
},
"dependencies": {
"happy-dom": "^20.10.1",
"@types/node": ">=20.0.0"
},
"devDependencies": {
"typescript": "^5.8.3",
"lit": "^3.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"engines": {
"node": ">=20.0.0"
}
}