package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "jsdom",
  3. "version": "11.12.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. "Zirro <code@zirro.se>"
  18. ],
  19. "license": "MIT",
  20. "repository": "jsdom/jsdom",
  21. "dependencies": {
  22. "abab": "^2.0.0",
  23. "acorn": "^5.5.3",
  24. "acorn-globals": "^4.1.0",
  25. "array-equal": "^1.0.0",
  26. "cssom": ">= 0.3.2 < 0.4.0",
  27. "cssstyle": "^1.0.0",
  28. "data-urls": "^1.0.0",
  29. "domexception": "^1.0.1",
  30. "escodegen": "^1.9.1",
  31. "html-encoding-sniffer": "^1.0.2",
  32. "left-pad": "^1.3.0",
  33. "nwsapi": "^2.0.7",
  34. "parse5": "4.0.0",
  35. "pn": "^1.1.0",
  36. "request": "^2.87.0",
  37. "request-promise-native": "^1.0.5",
  38. "sax": "^1.2.4",
  39. "symbol-tree": "^3.2.2",
  40. "tough-cookie": "^2.3.4",
  41. "w3c-hr-time": "^1.0.1",
  42. "webidl-conversions": "^4.0.2",
  43. "whatwg-encoding": "^1.0.3",
  44. "whatwg-mimetype": "^2.1.0",
  45. "whatwg-url": "^6.4.1",
  46. "ws": "^5.2.0",
  47. "xml-name-validator": "^3.0.0"
  48. },
  49. "devDependencies": {
  50. "benchmark": "1.0.0",
  51. "browserify": "^14.5.0",
  52. "chai": "^4.1.2",
  53. "eslint": "^4.19.1",
  54. "eslint-find-rules": "^3.2.3",
  55. "eslint-plugin-html": "^4.0.3",
  56. "js-yaml": "^3.11.0",
  57. "karma": "^1.7.1",
  58. "karma-browserify": "^5.2.0",
  59. "karma-chrome-launcher": "^2.2.0",
  60. "karma-mocha": "^1.3.0",
  61. "karma-mocha-webworker": "^1.3.0",
  62. "karma-sauce-launcher": "^1.2.0",
  63. "minimatch": "^3.0.4",
  64. "mocha": "^3.5.2",
  65. "mocha-sugar-free": "^1.3.1",
  66. "optimist": "0.6.1",
  67. "portfinder": "^1.0.13",
  68. "q": "^1.5.1",
  69. "rimraf": "^2.6.2",
  70. "server-destroy": "^1.0.1",
  71. "st": "^1.2.2",
  72. "watchify": "^3.11.0",
  73. "wd": "^1.7.0",
  74. "webidl2js": "^9.0.0"
  75. },
  76. "browser": {
  77. "canvas": false,
  78. "vm": "./lib/jsdom/vm-shim.js",
  79. "./lib/jsdom/living/websockets/WebSocket-impl.js": "./lib/jsdom/living/websockets/WebSocket-impl-browser.js"
  80. },
  81. "scripts": {
  82. "prepare": "yarn convert-idl",
  83. "pretest": "yarn convert-idl && yarn init-wpt",
  84. "test-wpt": "mocha test/web-platform-tests/run-wpts.js",
  85. "test-tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
  86. "test-mocha": "mocha",
  87. "test-api": "mocha test/api",
  88. "test": "mocha test/index.js",
  89. "test-browser-iframe": "karma start test/karma.conf.js",
  90. "test-browser-worker": "karma start test/karma-webworker.conf.js",
  91. "test-browser": "yarn test-browser-iframe && yarn test-browser-worker",
  92. "lint": "eslint . && eslint test/web-platform-tests/to-upstream --ext .html",
  93. "lint-is-complete": "eslint-find-rules --unused .eslintrc.json",
  94. "init-wpt": "git submodule update --init --recursive",
  95. "reset-wpt": "rimraf ./test/web-platform-tests/tests && yarn init-wpt",
  96. "update-wpt": "git submodule update --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json",
  97. "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
  98. "benchmark": "node ./benchmark/runner",
  99. "benchmark-browser": "node ./benchmark/runner --bundle",
  100. "convert-idl": "node ./scripts/webidl/convert"
  101. },
  102. "main": "./lib/api.js"
  103. }