Spaces:
Paused
Paused
| { | |
| "name": "jsdom", | |
| "version": "29.1.1", | |
| "description": "A JavaScript implementation of many web standards", | |
| "keywords": [ | |
| "dom", | |
| "html", | |
| "whatwg", | |
| "w3c" | |
| ], | |
| "maintainers": [ | |
| "Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)", | |
| "Domenic Denicola <d@domenic.me> (https://domenic.me/)", | |
| "Sebastian Mayr <sebmaster16@gmail.com> (https://blog.smayr.name/)", | |
| "Joris van der Wel <joris@jorisvanderwel.com>", | |
| "Timothy Gu <timothygu99@gmail.com> (https://timothygu.me/)", | |
| "Magne Andersson <code@zirro.se> (https://zirro.se/)", | |
| "Pierre-Marie Dartus <dartus.pierremarie@gmail.com>" | |
| ], | |
| "license": "MIT", | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/jsdom/jsdom.git" | |
| }, | |
| "dependencies": { | |
| "@asamuzakjp/css-color": "^5.1.11", | |
| "@asamuzakjp/dom-selector": "^7.1.1", | |
| "@bramus/specificity": "^2.4.2", | |
| "@csstools/css-syntax-patches-for-csstree": "^1.1.3", | |
| "@exodus/bytes": "^1.15.0", | |
| "css-tree": "^3.2.1", | |
| "data-urls": "^7.0.0", | |
| "decimal.js": "^10.6.0", | |
| "html-encoding-sniffer": "^6.0.0", | |
| "is-potential-custom-element-name": "^1.0.1", | |
| "lru-cache": "^11.3.5", | |
| "parse5": "^8.0.1", | |
| "saxes": "^6.0.0", | |
| "symbol-tree": "^3.2.4", | |
| "tough-cookie": "^6.0.1", | |
| "undici": "^7.25.0", | |
| "w3c-xmlserializer": "^5.0.0", | |
| "webidl-conversions": "^8.0.1", | |
| "whatwg-mimetype": "^5.0.0", | |
| "whatwg-url": "^16.0.1", | |
| "xml-name-validator": "^5.0.0" | |
| }, | |
| "peerDependencies": { | |
| "canvas": "^3.0.0" | |
| }, | |
| "peerDependenciesMeta": { | |
| "canvas": { | |
| "optional": true | |
| } | |
| }, | |
| "devDependencies": { | |
| "@domenic/eslint-config": "^5.1.0", | |
| "@stylistic/eslint-plugin": "^5.10.0", | |
| "@webref/css": "^8.5.0", | |
| "eslint": "^10.2.1", | |
| "eslint-plugin-html": "^8.1.4", | |
| "eslint-plugin-n": "^17.24.0", | |
| "globals": "^17.5.0", | |
| "js-yaml": "^4.1.1", | |
| "minimatch": "^10.2.5", | |
| "mocha": "^11.7.5", | |
| "mocha-sugar-free": "^1.4.0", | |
| "npm-run-all2": "^8.0.4", | |
| "opener": "^1.5.2", | |
| "pngjs": "^7.0.0", | |
| "semver": "^7.7.4", | |
| "server-destroy": "^1.0.1", | |
| "tinybench": "^6.0.0", | |
| "webidl2": "^24.5.0", | |
| "webidl2js": "^19.1.0", | |
| "wireit": "^0.14.12" | |
| }, | |
| "scripts": { | |
| "prepare": "wireit", | |
| "prepare:convert-idl": "wireit", | |
| "prepare:generate-event-sets": "wireit", | |
| "prepare:generate-css-style-properties": "wireit", | |
| "prepare:generate-js-globals": "wireit", | |
| "pretest": "npm run prepare && npm run wpt:init", | |
| "test": "npm-run-all --continue-on-error test:*", | |
| "test:api": "mocha test/api/", | |
| "test:to-port-to-wpts": "mocha test/to-port-to-wpts/ && mocha test/to-port-to-wpts/level1/ && mocha test/to-port-to-wpts/level2/ && mocha test/to-port-to-wpts/level3/", | |
| "test:tuwpt": "mocha test/web-platform-tests/run-tuwpts.js", | |
| "test:tuwpt:browser": "node scripts/verify-tuwpts-in-browser.js", | |
| "test:wpt": "mocha test/web-platform-tests/run-wpts.js", | |
| "lint": "eslint --cache", | |
| "wpt:init": "git submodule update --init --recursive", | |
| "wpt:reset": "rm -rf ./test/web-platform-tests/tests && npm run wpt:init", | |
| "wpt:update": "git submodule update --init --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json", | |
| "benchmark": "node ./benchmark/runner" | |
| }, | |
| "wireit": { | |
| "prepare": { | |
| "dependencies": [ | |
| "prepare:convert-idl", | |
| "prepare:generate-event-sets", | |
| "prepare:generate-js-globals" | |
| ] | |
| }, | |
| "prepare:convert-idl": { | |
| "command": "node ./scripts/webidl/convert.js", | |
| "dependencies": [ | |
| "prepare:generate-css-style-properties" | |
| ] | |
| }, | |
| "prepare:generate-event-sets": { | |
| "command": "node ./scripts/generate-event-sets.js" | |
| }, | |
| "prepare:generate-css-style-properties": { | |
| "command": "node ./scripts/generate-css-style-properties.js" | |
| }, | |
| "prepare:generate-js-globals": { | |
| "command": "node ./scripts/generate-js-globals.js" | |
| } | |
| }, | |
| "main": "./lib/api.js", | |
| "type": "commonjs", | |
| "engines": { | |
| "node": "^20.19.0 || ^22.13.0 || >=24.0.0" | |
| } | |
| } | |