package.json 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "jsdom",
  3. "version": "26.1.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. "cssstyle": "^4.2.1",
  27. "data-urls": "^5.0.0",
  28. "decimal.js": "^10.5.0",
  29. "html-encoding-sniffer": "^4.0.0",
  30. "http-proxy-agent": "^7.0.2",
  31. "https-proxy-agent": "^7.0.6",
  32. "is-potential-custom-element-name": "^1.0.1",
  33. "nwsapi": "^2.2.16",
  34. "parse5": "^7.2.1",
  35. "rrweb-cssom": "^0.8.0",
  36. "saxes": "^6.0.0",
  37. "symbol-tree": "^3.2.4",
  38. "tough-cookie": "^5.1.1",
  39. "w3c-xmlserializer": "^5.0.0",
  40. "webidl-conversions": "^7.0.0",
  41. "whatwg-encoding": "^3.1.1",
  42. "whatwg-mimetype": "^4.0.0",
  43. "whatwg-url": "^14.1.1",
  44. "ws": "^8.18.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.0.1",
  57. "benchmark": "^2.1.4",
  58. "eslint": "^9.20.0",
  59. "eslint-plugin-html": "^8.1.2",
  60. "globals": "^15.14.0",
  61. "js-yaml": "^4.1.0",
  62. "minimatch": "^9.0.5",
  63. "mocha": "^11.1.0",
  64. "mocha-sugar-free": "^1.4.0",
  65. "pngjs": "^7.0.0",
  66. "server-destroy": "^1.0.1",
  67. "webidl2js": "^18.0.0",
  68. "yargs": "^17.7.2"
  69. },
  70. "scripts": {
  71. "prepare": "npm run convert-idl && npm run generate-js-globals",
  72. "pretest": "npm run prepare && npm run init-wpt",
  73. "test-wpt": "mocha test/web-platform-tests/run-wpts.js",
  74. "test-tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
  75. "test-mocha": "mocha",
  76. "test-api": "mocha test/api",
  77. "test": "mocha test/index.js",
  78. "lint": "eslint --cache",
  79. "init-wpt": "git submodule update --init --recursive",
  80. "reset-wpt": "rm -rf ./test/web-platform-tests/tests && npm run init-wpt",
  81. "update-wpt": "git submodule update --init --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json",
  82. "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
  83. "benchmark": "node ./benchmark/runner",
  84. "convert-idl": "node ./scripts/webidl/convert.js",
  85. "generate-js-globals": "node ./scripts/generate-js-globals.js"
  86. },
  87. "main": "./lib/api.js",
  88. "type": "commonjs",
  89. "engines": {
  90. "node": ">=18"
  91. }
  92. }