104 lines
3.5 KiB
JSON
104 lines
3.5 KiB
JSON
|
{
|
||
|
"name": "jsdom",
|
||
|
"version": "11.12.0",
|
||
|
"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": "^5.5.3",
|
||
|
"acorn-globals": "^4.1.0",
|
||
|
"array-equal": "^1.0.0",
|
||
|
"cssom": ">= 0.3.2 < 0.4.0",
|
||
|
"cssstyle": "^1.0.0",
|
||
|
"data-urls": "^1.0.0",
|
||
|
"domexception": "^1.0.1",
|
||
|
"escodegen": "^1.9.1",
|
||
|
"html-encoding-sniffer": "^1.0.2",
|
||
|
"left-pad": "^1.3.0",
|
||
|
"nwsapi": "^2.0.7",
|
||
|
"parse5": "4.0.0",
|
||
|
"pn": "^1.1.0",
|
||
|
"request": "^2.87.0",
|
||
|
"request-promise-native": "^1.0.5",
|
||
|
"sax": "^1.2.4",
|
||
|
"symbol-tree": "^3.2.2",
|
||
|
"tough-cookie": "^2.3.4",
|
||
|
"w3c-hr-time": "^1.0.1",
|
||
|
"webidl-conversions": "^4.0.2",
|
||
|
"whatwg-encoding": "^1.0.3",
|
||
|
"whatwg-mimetype": "^2.1.0",
|
||
|
"whatwg-url": "^6.4.1",
|
||
|
"ws": "^5.2.0",
|
||
|
"xml-name-validator": "^3.0.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"benchmark": "1.0.0",
|
||
|
"browserify": "^14.5.0",
|
||
|
"chai": "^4.1.2",
|
||
|
"eslint": "^4.19.1",
|
||
|
"eslint-find-rules": "^3.2.3",
|
||
|
"eslint-plugin-html": "^4.0.3",
|
||
|
"js-yaml": "^3.11.0",
|
||
|
"karma": "^1.7.1",
|
||
|
"karma-browserify": "^5.2.0",
|
||
|
"karma-chrome-launcher": "^2.2.0",
|
||
|
"karma-mocha": "^1.3.0",
|
||
|
"karma-mocha-webworker": "^1.3.0",
|
||
|
"karma-sauce-launcher": "^1.2.0",
|
||
|
"minimatch": "^3.0.4",
|
||
|
"mocha": "^3.5.2",
|
||
|
"mocha-sugar-free": "^1.3.1",
|
||
|
"optimist": "0.6.1",
|
||
|
"portfinder": "^1.0.13",
|
||
|
"q": "^1.5.1",
|
||
|
"rimraf": "^2.6.2",
|
||
|
"server-destroy": "^1.0.1",
|
||
|
"st": "^1.2.2",
|
||
|
"watchify": "^3.11.0",
|
||
|
"wd": "^1.7.0",
|
||
|
"webidl2js": "^9.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 . && eslint test/web-platform-tests/to-upstream --ext .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"
|
||
|
}
|