| 1 | {
|
|---|
| 2 | "name": "jsdom",
|
|---|
| 3 | "version": "16.7.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 | "abab": "^2.0.5",
|
|---|
| 24 | "acorn": "^8.2.4",
|
|---|
| 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 | "form-data": "^3.0.0",
|
|---|
| 33 | "html-encoding-sniffer": "^2.0.1",
|
|---|
| 34 | "http-proxy-agent": "^4.0.1",
|
|---|
| 35 | "https-proxy-agent": "^5.0.0",
|
|---|
| 36 | "is-potential-custom-element-name": "^1.0.1",
|
|---|
| 37 | "nwsapi": "^2.2.0",
|
|---|
| 38 | "parse5": "6.0.1",
|
|---|
| 39 | "saxes": "^5.0.1",
|
|---|
| 40 | "symbol-tree": "^3.2.4",
|
|---|
| 41 | "tough-cookie": "^4.0.0",
|
|---|
| 42 | "w3c-hr-time": "^1.0.2",
|
|---|
| 43 | "w3c-xmlserializer": "^2.0.0",
|
|---|
| 44 | "webidl-conversions": "^6.1.0",
|
|---|
| 45 | "whatwg-encoding": "^1.0.5",
|
|---|
| 46 | "whatwg-mimetype": "^2.3.0",
|
|---|
| 47 | "whatwg-url": "^8.5.0",
|
|---|
| 48 | "ws": "^7.4.6",
|
|---|
| 49 | "xml-name-validator": "^3.0.0"
|
|---|
| 50 | },
|
|---|
| 51 | "_dependenciesComments": {
|
|---|
| 52 | "parse5": "Pinned to exact version number because we monkeypatch its internals (see htmltodom.js)"
|
|---|
| 53 | },
|
|---|
| 54 | "peerDependencies": {
|
|---|
| 55 | "canvas": "^2.5.0"
|
|---|
| 56 | },
|
|---|
| 57 | "peerDependenciesMeta": {
|
|---|
| 58 | "canvas": {
|
|---|
| 59 | "optional": true
|
|---|
| 60 | }
|
|---|
| 61 | },
|
|---|
| 62 | "devDependencies": {
|
|---|
| 63 | "@domenic/eslint-config": "^1.2.0",
|
|---|
| 64 | "benchmark": "^2.1.4",
|
|---|
| 65 | "browserify": "^17.0.0",
|
|---|
| 66 | "chai": "^4.3.4",
|
|---|
| 67 | "eslint": "^7.27.0",
|
|---|
| 68 | "eslint-plugin-html": "^6.1.2",
|
|---|
| 69 | "eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
|
|---|
| 70 | "js-yaml": "^4.1.0",
|
|---|
| 71 | "karma": "^6.3.2",
|
|---|
| 72 | "karma-browserify": "^8.0.0",
|
|---|
| 73 | "karma-chrome-launcher": "^3.1.0",
|
|---|
| 74 | "karma-mocha": "^2.0.1",
|
|---|
| 75 | "karma-mocha-webworker": "^1.3.0",
|
|---|
| 76 | "minimatch": "^3.0.4",
|
|---|
| 77 | "mocha": "^8.4.0",
|
|---|
| 78 | "mocha-sugar-free": "^1.4.0",
|
|---|
| 79 | "optimist": "0.6.1",
|
|---|
| 80 | "rimraf": "^3.0.2",
|
|---|
| 81 | "server-destroy": "^1.0.1",
|
|---|
| 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 | }
|
|---|