package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "whatwg-url",
  3. "version": "11.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": "jsdom/whatwg-url",
  14. "dependencies": {
  15. "tr46": "^3.0.0",
  16. "webidl-conversions": "^7.0.0"
  17. },
  18. "devDependencies": {
  19. "@domenic/eslint-config": "^1.4.0",
  20. "benchmark": "^2.1.4",
  21. "browserify": "^17.0.0",
  22. "domexception": "^4.0.0",
  23. "eslint": "^7.32.0",
  24. "got": "^11.8.2",
  25. "jest": "^27.2.4",
  26. "webidl2js": "^17.0.0"
  27. },
  28. "engines": {
  29. "node": ">=12"
  30. },
  31. "scripts": {
  32. "coverage": "jest --coverage",
  33. "lint": "eslint .",
  34. "prepare": "node scripts/transform.js",
  35. "pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js",
  36. "build-live-viewer": "browserify index.js --standalone whatwgURL > live-viewer/whatwg-url.js",
  37. "test": "jest"
  38. },
  39. "jest": {
  40. "collectCoverageFrom": [
  41. "lib/**/*.js",
  42. "!lib/utils.js"
  43. ],
  44. "coverageDirectory": "coverage",
  45. "coverageReporters": [
  46. "lcov",
  47. "text-summary"
  48. ],
  49. "testEnvironment": "node",
  50. "testMatch": [
  51. "<rootDir>/test/**/*.js"
  52. ],
  53. "testPathIgnorePatterns": [
  54. "^<rootDir>/test/testharness.js$",
  55. "^<rootDir>/test/web-platform-tests/"
  56. ]
  57. }
  58. }