Files

57 lines
1.4 KiB
JSON

{
"name": "whatwg-url",
"version": "15.1.0",
"description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery",
"main": "index.js",
"files": [
"index.js",
"webidl2js-wrapper.js",
"lib/*.js"
],
"author": "Sebastian Mayr <github@smayr.name>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jsdom/whatwg-url.git"
},
"dependencies": {
"tr46": "^6.0.0",
"webidl-conversions": "^8.0.0"
},
"devDependencies": {
"@domenic/eslint-config": "^4.0.1",
"benchmark": "^2.1.4",
"c8": "^10.1.3",
"esbuild": "^0.25.9",
"eslint": "^9.35.0",
"globals": "^16.4.0",
"webidl2js": "^19.0.0"
},
"engines": {
"node": ">=20"
},
"scripts": {
"coverage": "c8 node --test --experimental-test-coverage test/*.js",
"lint": "eslint",
"prepare": "node scripts/transform.js",
"pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js",
"build-live-viewer": "esbuild --bundle --format=esm --sourcemap --outfile=live-viewer/whatwg-url.mjs index.js",
"test": "node --test test/*.js",
"bench": "node scripts/benchmark.js"
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"lib/Function.js",
"lib/URL.js",
"lib/URLSearchParams.js",
"lib/utils.js",
"scripts/",
"test/"
]
}
}