1 | {
|
2 | "name": "jsdom",
|
3 | "version": "24.0.0",
|
4 | "description": "A JavaScript implementation of many web standards",
|
5 | "keywords": [
|
6 | "dom",
|
7 | "html",
|
8 | "whatwg",
|
9 | "w3c"
|
10 | ],
|
11 | "maintainers": [
|
12 | "Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)",
|
13 | "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
|
14 | "Sebastian Mayr <sebmaster16@gmail.com> (https://blog.smayr.name/)",
|
15 | "Joris van der Wel <joris@jorisvanderwel.com>",
|
16 | "Timothy Gu <timothygu99@gmail.com> (https://timothygu.me/)",
|
17 | "Magne Andersson <code@zirro.se> (https://zirro.se/)",
|
18 | "Pierre-Marie Dartus <dartus.pierremarie@gmail.com>"
|
19 | ],
|
20 | "license": "MIT",
|
21 | "repository": "jsdom/jsdom",
|
22 | "dependencies": {
|
23 | "cssstyle": "^4.0.1",
|
24 | "data-urls": "^5.0.0",
|
25 | "decimal.js": "^10.4.3",
|
26 | "form-data": "^4.0.0",
|
27 | "html-encoding-sniffer": "^4.0.0",
|
28 | "http-proxy-agent": "^7.0.0",
|
29 | "https-proxy-agent": "^7.0.2",
|
30 | "is-potential-custom-element-name": "^1.0.1",
|
31 | "nwsapi": "^2.2.7",
|
32 | "parse5": "^7.1.2",
|
33 | "rrweb-cssom": "^0.6.0",
|
34 | "saxes": "^6.0.0",
|
35 | "symbol-tree": "^3.2.4",
|
36 | "tough-cookie": "^4.1.3",
|
37 | "w3c-xmlserializer": "^5.0.0",
|
38 | "webidl-conversions": "^7.0.0",
|
39 | "whatwg-encoding": "^3.1.1",
|
40 | "whatwg-mimetype": "^4.0.0",
|
41 | "whatwg-url": "^14.0.0",
|
42 | "ws": "^8.16.0",
|
43 | "xml-name-validator": "^5.0.0"
|
44 | },
|
45 | "peerDependencies": {
|
46 | "canvas": "^2.11.2"
|
47 | },
|
48 | "peerDependenciesMeta": {
|
49 | "canvas": {
|
50 | "optional": true
|
51 | }
|
52 | },
|
53 | "devDependencies": {
|
54 | "@domenic/eslint-config": "^3.0.0",
|
55 | "benchmark": "^2.1.4",
|
56 | "eslint": "^8.56.0",
|
57 | "eslint-plugin-html": "^7.1.0",
|
58 | "eslint-plugin-jsdom-internal": "file:./scripts/eslint-plugin",
|
59 | "js-yaml": "^4.1.0",
|
60 | "minimatch": "^9.0.3",
|
61 | "mocha": "^10.2.0",
|
62 | "mocha-sugar-free": "^1.4.0",
|
63 | "pngjs": "^7.0.0",
|
64 | "server-destroy": "^1.0.1",
|
65 | "webidl2js": "^17.1.0",
|
66 | "yargs": "^17.7.2"
|
67 | },
|
68 | "scripts": {
|
69 | "prepare": "npm run convert-idl && npm run generate-js-globals",
|
70 | "pretest": "npm run prepare && npm run init-wpt",
|
71 | "test-wpt": "mocha test/web-platform-tests/run-wpts.js",
|
72 | "test-tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
|
73 | "test-mocha": "mocha",
|
74 | "test-api": "mocha test/api",
|
75 | "test": "mocha test/index.js",
|
76 | "lint": "eslint . --cache --ext .js,.html",
|
77 | "init-wpt": "git submodule update --init --recursive",
|
78 | "reset-wpt": "rm -rf ./test/web-platform-tests/tests && npm run init-wpt",
|
79 | "update-wpt": "git submodule update --init --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json",
|
80 | "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
|
81 | "benchmark": "node ./benchmark/runner",
|
82 | "convert-idl": "node ./scripts/webidl/convert.js",
|
83 | "generate-js-globals": "node ./scripts/generate-js-globals.js"
|
84 | },
|
85 | "main": "./lib/api.js",
|
86 | "engines": {
|
87 | "node": ">=18"
|
88 | }
|
89 | }
|