package.json 3.75 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
{
  "name": "jsdom",
  "version": "15.2.1",
  "description": "A JavaScript implementation of many web standards",
  "keywords": [
    "dom",
    "html",
    "whatwg",
    "w3c"
  ],
  "maintainers": [
    "Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)",
    "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
    "Sebastian Mayr <sebmaster16@gmail.com> (https://blog.smayr.name/)",
    "Joris van der Wel <joris@jorisvanderwel.com>",
    "Timothy Gu <timothygu99@gmail.com> (https://timothygu.me/)",
    "Zirro <code@zirro.se>"
  ],
  "license": "MIT",
  "repository": "jsdom/jsdom",
  "dependencies": {
    "abab": "^2.0.0",
    "acorn": "^7.1.0",
    "acorn-globals": "^4.3.2",
    "array-equal": "^1.0.0",
    "cssom": "^0.4.1",
    "cssstyle": "^2.0.0",
    "data-urls": "^1.1.0",
    "domexception": "^1.0.1",
    "escodegen": "^1.11.1",
    "html-encoding-sniffer": "^1.0.2",
    "nwsapi": "^2.2.0",
    "parse5": "5.1.0",
    "pn": "^1.1.0",
    "request": "^2.88.0",
    "request-promise-native": "^1.0.7",
    "saxes": "^3.1.9",
    "symbol-tree": "^3.2.2",
    "tough-cookie": "^3.0.1",
    "w3c-hr-time": "^1.0.1",
    "w3c-xmlserializer": "^1.1.2",
    "webidl-conversions": "^4.0.2",
    "whatwg-encoding": "^1.0.5",
    "whatwg-mimetype": "^2.3.0",
    "whatwg-url": "^7.0.0",
    "ws": "^7.0.0",
    "xml-name-validator": "^3.0.0"
  },
  "_dependenciesComments": {
    "parse5": "Pinned to exact version number because we monkeypatch its internals (see htmltodom.js)"
  },
  "peerDependencies": {
    "canvas": "^2.5.0"
  },
  "peerDependenciesMeta": {
    "canvas": {
      "optional": true
    }
  },
  "devDependencies": {
    "benchmark": "^2.1.4",
    "browserify": "^16.2.3",
    "chai": "^4.2.0",
    "eslint": "^6.6.0",
    "eslint-find-rules": "^3.3.1",
    "eslint-plugin-html": "^6.0.0",
    "eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
    "js-yaml": "^3.13.1",
    "karma": "^4.3.0",
    "karma-browserify": "^6.1.0",
    "karma-chrome-launcher": "^3.1.0",
    "karma-mocha": "^1.3.0",
    "karma-mocha-webworker": "^1.3.0",
    "minimatch": "^3.0.4",
    "mocha": "^6.2.1",
    "mocha-sugar-free": "^1.4.0",
    "optimist": "0.6.1",
    "portfinder": "^1.0.20",
    "q": "^1.5.1",
    "rimraf": "^3.0.0",
    "server-destroy": "^1.0.1",
    "st": "^1.2.2",
    "watchify": "^3.11.1",
    "wd": "^1.11.2",
    "webidl2js": "^10.0.0"
  },
  "browser": {
    "canvas": false,
    "vm": "./lib/jsdom/vm-shim.js",
    "./lib/jsdom/living/websockets/WebSocket-impl.js": "./lib/jsdom/living/websockets/WebSocket-impl-browser.js"
  },
  "scripts": {
    "prepare": "yarn convert-idl",
    "pretest": "yarn convert-idl && yarn init-wpt",
    "test-wpt": "mocha test/web-platform-tests/run-wpts.js",
    "test-tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
    "test-mocha": "mocha",
    "test-api": "mocha test/api",
    "test": "mocha test/index.js",
    "test-browser-iframe": "karma start test/karma.conf.js",
    "test-browser-worker": "karma start test/karma-webworker.conf.js",
    "test-browser": "yarn test-browser-iframe && yarn test-browser-worker",
    "lint": "eslint . --cache --ext .js,.html",
    "lint-is-complete": "eslint-find-rules --unused .eslintrc.json",
    "init-wpt": "git submodule update --init --recursive",
    "reset-wpt": "rimraf ./test/web-platform-tests/tests && yarn init-wpt",
    "update-wpt": "git submodule update --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json",
    "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
    "benchmark": "node ./benchmark/runner",
    "benchmark-browser": "node ./benchmark/runner --bundle",
    "convert-idl": "node ./scripts/webidl/convert"
  },
  "main": "./lib/api.js",
  "engines": {
    "node": ">=8"
  }
}