web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.8 KiB

  1. {
  2. "name": "jsdom",
  3. "version": "16.5.3",
  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. "abab": "^2.0.5",
  24. "acorn": "^8.1.0",
  25. "acorn-globals": "^6.0.0",
  26. "cssom": "^0.4.4",
  27. "cssstyle": "^2.3.0",
  28. "data-urls": "^2.0.0",
  29. "decimal.js": "^10.2.1",
  30. "domexception": "^2.0.1",
  31. "escodegen": "^2.0.0",
  32. "html-encoding-sniffer": "^2.0.1",
  33. "is-potential-custom-element-name": "^1.0.0",
  34. "nwsapi": "^2.2.0",
  35. "parse5": "6.0.1",
  36. "request": "^2.88.2",
  37. "request-promise-native": "^1.0.9",
  38. "saxes": "^5.0.1",
  39. "symbol-tree": "^3.2.4",
  40. "tough-cookie": "^4.0.0",
  41. "w3c-hr-time": "^1.0.2",
  42. "w3c-xmlserializer": "^2.0.0",
  43. "webidl-conversions": "^6.1.0",
  44. "whatwg-encoding": "^1.0.5",
  45. "whatwg-mimetype": "^2.3.0",
  46. "whatwg-url": "^8.5.0",
  47. "ws": "^7.4.4",
  48. "xml-name-validator": "^3.0.0"
  49. },
  50. "_dependenciesComments": {
  51. "parse5": "Pinned to exact version number because we monkeypatch its internals (see htmltodom.js)"
  52. },
  53. "peerDependencies": {
  54. "canvas": "^2.5.0"
  55. },
  56. "peerDependenciesMeta": {
  57. "canvas": {
  58. "optional": true
  59. }
  60. },
  61. "devDependencies": {
  62. "@domenic/eslint-config": "^1.1.0",
  63. "benchmark": "^2.1.4",
  64. "browserify": "^17.0.0",
  65. "chai": "^4.3.4",
  66. "eslint": "^7.23.0",
  67. "eslint-plugin-html": "^6.1.2",
  68. "eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
  69. "js-yaml": "^4.0.0",
  70. "karma": "^6.3.1",
  71. "karma-browserify": "^8.0.0",
  72. "karma-chrome-launcher": "^3.1.0",
  73. "karma-mocha": "^2.0.1",
  74. "karma-mocha-webworker": "^1.3.0",
  75. "minimatch": "^3.0.4",
  76. "mocha": "^8.3.2",
  77. "mocha-sugar-free": "^1.4.0",
  78. "optimist": "0.6.1",
  79. "rimraf": "^3.0.2",
  80. "server-destroy": "^1.0.1",
  81. "st": "^2.0.0",
  82. "watchify": "^4.0.0",
  83. "wd": "^1.14.0",
  84. "webidl2js": "^16.2.0"
  85. },
  86. "browser": {
  87. "canvas": false,
  88. "vm": "./lib/jsdom/vm-shim.js",
  89. "./lib/jsdom/living/websockets/WebSocket-impl.js": "./lib/jsdom/living/websockets/WebSocket-impl-browser.js"
  90. },
  91. "scripts": {
  92. "prepare": "yarn convert-idl && yarn generate-js-globals",
  93. "pretest": "yarn prepare && yarn init-wpt",
  94. "test-wpt": "mocha test/web-platform-tests/run-wpts.js",
  95. "test-tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
  96. "test-mocha": "mocha",
  97. "test-api": "mocha test/api",
  98. "test": "mocha test/index.js",
  99. "test-browser-iframe": "karma start test/karma.conf.js",
  100. "test-browser-worker": "karma start test/karma-webworker.conf.js",
  101. "test-browser": "yarn test-browser-iframe && yarn test-browser-worker",
  102. "lint": "eslint . --cache --ext .js,.html",
  103. "init-wpt": "git submodule update --init --recursive",
  104. "reset-wpt": "rimraf ./test/web-platform-tests/tests && yarn init-wpt",
  105. "update-wpt": "git submodule update --recursive --remote && cd test/web-platform-tests/tests && python3 wpt.py manifest --path ../wpt-manifest.json",
  106. "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
  107. "benchmark": "node ./benchmark/runner",
  108. "benchmark-browser": "node ./benchmark/runner --bundle",
  109. "convert-idl": "node ./scripts/webidl/convert.js",
  110. "generate-js-globals": "node ./scripts/generate-js-globals.js"
  111. },
  112. "main": "./lib/api.js",
  113. "engines": {
  114. "node": ">=10"
  115. }
  116. }