UNPKG

4.03 kBJSONView Raw
1{
2 "name": "jsdom",
3 "version": "16.2.2",
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.3",
24 "acorn": "^7.1.1",
25 "acorn-globals": "^6.0.0",
26 "cssom": "^0.4.4",
27 "cssstyle": "^2.2.0",
28 "data-urls": "^2.0.0",
29 "decimal.js": "^10.2.0",
30 "domexception": "^2.0.1",
31 "escodegen": "^1.14.1",
32 "html-encoding-sniffer": "^2.0.1",
33 "is-potential-custom-element-name": "^1.0.0",
34 "nwsapi": "^2.2.0",
35 "parse5": "5.1.1",
36 "request": "^2.88.2",
37 "request-promise-native": "^1.0.8",
38 "saxes": "^5.0.0",
39 "symbol-tree": "^3.2.4",
40 "tough-cookie": "^3.0.1",
41 "w3c-hr-time": "^1.0.2",
42 "w3c-xmlserializer": "^2.0.0",
43 "webidl-conversions": "^6.0.0",
44 "whatwg-encoding": "^1.0.5",
45 "whatwg-mimetype": "^2.3.0",
46 "whatwg-url": "^8.0.0",
47 "ws": "^7.2.3",
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 "benchmark": "^2.1.4",
63 "browserify": "^16.5.0",
64 "chai": "^4.2.0",
65 "eslint": "^6.8.0",
66 "eslint-find-rules": "^3.4.0",
67 "eslint-plugin-html": "^6.0.0",
68 "eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
69 "js-yaml": "^3.13.1",
70 "karma": "^4.4.1",
71 "karma-browserify": "^7.0.0",
72 "karma-chrome-launcher": "^3.1.0",
73 "karma-mocha": "^1.3.0",
74 "karma-mocha-webworker": "^1.3.0",
75 "minimatch": "^3.0.4",
76 "mocha": "^7.1.1",
77 "mocha-sugar-free": "^1.4.0",
78 "optimist": "0.6.1",
79 "portfinder": "^1.0.25",
80 "rimraf": "^3.0.2",
81 "server-destroy": "^1.0.1",
82 "st": "^2.0.0",
83 "watchify": "^3.11.1",
84 "wd": "^1.12.1",
85 "webidl2js": "^15.1.0"
86 },
87 "browser": {
88 "canvas": false,
89 "vm": "./lib/jsdom/vm-shim.js",
90 "./lib/jsdom/living/websockets/WebSocket-impl.js": "./lib/jsdom/living/websockets/WebSocket-impl-browser.js"
91 },
92 "scripts": {
93 "prepare": "yarn convert-idl && yarn generate-js-globals",
94 "pretest": "yarn prepare && yarn init-wpt",
95 "test-wpt": "mocha test/web-platform-tests/run-wpts.js",
96 "test-tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
97 "test-mocha": "mocha",
98 "test-api": "mocha test/api",
99 "test": "mocha test/index.js",
100 "test-browser-iframe": "karma start test/karma.conf.js",
101 "test-browser-worker": "karma start test/karma-webworker.conf.js",
102 "test-browser": "yarn test-browser-iframe && yarn test-browser-worker",
103 "lint": "eslint . --cache --ext .js,.html",
104 "lint-is-complete": "eslint-find-rules --unused .eslintrc.json",
105 "init-wpt": "git submodule update --init --recursive",
106 "reset-wpt": "rimraf ./test/web-platform-tests/tests && yarn init-wpt",
107 "update-wpt": "git submodule update --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json",
108 "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
109 "benchmark": "node ./benchmark/runner",
110 "benchmark-browser": "node ./benchmark/runner --bundle",
111 "convert-idl": "node ./scripts/webidl/convert.js",
112 "generate-js-globals": "node ./scripts/generate-js-globals.js"
113 },
114 "main": "./lib/api.js",
115 "engines": {
116 "node": ">=10"
117 }
118}