package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "whatwg-url",
  3. "version": "16.0.0",
  4. "description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery",
  5. "main": "index.js",
  6. "files": [
  7. "index.js",
  8. "webidl2js-wrapper.js",
  9. "lib/*.js"
  10. ],
  11. "author": "Sebastian Mayr <github@smayr.name>",
  12. "license": "MIT",
  13. "repository": {
  14. "type": "git",
  15. "url": "git+https://github.com/jsdom/whatwg-url.git"
  16. },
  17. "dependencies": {
  18. "@exodus/bytes": "^1.11.0",
  19. "tr46": "^6.0.0",
  20. "webidl-conversions": "^8.0.1"
  21. },
  22. "devDependencies": {
  23. "@domenic/eslint-config": "^4.1.0",
  24. "tinybench": "^6.0.0",
  25. "c8": "^10.1.3",
  26. "esbuild": "^0.27.2",
  27. "eslint": "^9.39.2",
  28. "globals": "^17.3.0",
  29. "webidl2js": "^19.1.0"
  30. },
  31. "engines": {
  32. "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
  33. },
  34. "scripts": {
  35. "coverage": "c8 node --test --experimental-test-coverage test/*.js",
  36. "lint": "eslint",
  37. "prepare": "node scripts/transform.js",
  38. "pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js",
  39. "build-live-viewer": "esbuild --bundle --format=esm --sourcemap --outfile=live-viewer/whatwg-url.mjs index.js",
  40. "test": "node --test test/*.js",
  41. "bench": "node scripts/benchmark.js"
  42. },
  43. "c8": {
  44. "reporter": [
  45. "text",
  46. "html"
  47. ],
  48. "exclude": [
  49. "lib/Function.js",
  50. "lib/URL.js",
  51. "lib/URLSearchParams.js",
  52. "lib/utils.js",
  53. "scripts/",
  54. "test/"
  55. ]
  56. }
  57. }