package.json 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "jsdom",
  3. "version": "28.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": {
  22. "type": "git",
  23. "url": "git+https://github.com/jsdom/jsdom.git"
  24. },
  25. "dependencies": {
  26. "@acemir/cssom": "^0.9.31",
  27. "@asamuzakjp/dom-selector": "^6.7.6",
  28. "@exodus/bytes": "^1.11.0",
  29. "cssstyle": "^5.3.7",
  30. "data-urls": "^7.0.0",
  31. "decimal.js": "^10.6.0",
  32. "html-encoding-sniffer": "^6.0.0",
  33. "http-proxy-agent": "^7.0.2",
  34. "https-proxy-agent": "^7.0.6",
  35. "is-potential-custom-element-name": "^1.0.1",
  36. "parse5": "^8.0.0",
  37. "saxes": "^6.0.0",
  38. "symbol-tree": "^3.2.4",
  39. "tough-cookie": "^6.0.0",
  40. "undici": "^7.20.0",
  41. "w3c-xmlserializer": "^5.0.0",
  42. "webidl-conversions": "^8.0.1",
  43. "whatwg-mimetype": "^5.0.0",
  44. "whatwg-url": "^16.0.0",
  45. "xml-name-validator": "^5.0.0"
  46. },
  47. "peerDependencies": {
  48. "canvas": "^3.0.0"
  49. },
  50. "peerDependenciesMeta": {
  51. "canvas": {
  52. "optional": true
  53. }
  54. },
  55. "devDependencies": {
  56. "@domenic/eslint-config": "^4.1.0",
  57. "benchmark": "^2.1.4",
  58. "eslint": "^9.39.2",
  59. "eslint-plugin-html": "^8.1.4",
  60. "eslint-plugin-n": "^17.23.2",
  61. "globals": "^17.2.0",
  62. "js-yaml": "^4.1.1",
  63. "minimatch": "^10.1.1",
  64. "mocha": "^11.7.5",
  65. "mocha-sugar-free": "^1.4.0",
  66. "npm-run-all2": "^8.0.4",
  67. "pngjs": "^7.0.0",
  68. "server-destroy": "^1.0.1",
  69. "webidl2js": "^19.1.0",
  70. "yargs": "^18.0.0"
  71. },
  72. "scripts": {
  73. "prepare": "npm-run-all prepare:*",
  74. "prepare:convert-idl": "node ./scripts/webidl/convert.js",
  75. "prepare:generate-js-globals": "node ./scripts/generate-js-globals.js",
  76. "pretest": "npm run prepare && npm run wpt:init",
  77. "test": "npm-run-all --continue-on-error test:*",
  78. "test:api": "mocha test/api/",
  79. "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/",
  80. "test:tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
  81. "test:wpt": "mocha test/web-platform-tests/run-wpts.js",
  82. "lint": "eslint --cache",
  83. "wpt:init": "git submodule update --init --recursive",
  84. "wpt:reset": "rm -rf ./test/web-platform-tests/tests && npm run wpt:init",
  85. "wpt:update": "git submodule update --init --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json",
  86. "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
  87. "benchmark": "node ./benchmark/runner"
  88. },
  89. "main": "./lib/api.js",
  90. "type": "commonjs",
  91. "engines": {
  92. "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
  93. }
  94. }