package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "whatwg-url",
  3. "version": "8.7.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. "dist/"
  10. ],
  11. "author": "Sebastian Mayr <github@smayr.name>",
  12. "license": "MIT",
  13. "repository": "jsdom/whatwg-url",
  14. "dependencies": {
  15. "lodash": "^4.7.0",
  16. "tr46": "^2.1.0",
  17. "webidl-conversions": "^6.1.0"
  18. },
  19. "devDependencies": {
  20. "@domenic/eslint-config": "^1.2.0",
  21. "browserify": "^17.0.0",
  22. "domexception": "^2.0.1",
  23. "eslint": "^7.29.0",
  24. "glob": "^7.1.7",
  25. "got": "^11.8.2",
  26. "jest": "^27.0.5",
  27. "recast": "^0.20.4",
  28. "webidl2js": "^16.2.0"
  29. },
  30. "engines": {
  31. "node": ">=10"
  32. },
  33. "scripts": {
  34. "coverage": "jest --coverage",
  35. "lint": "eslint .",
  36. "prepare": "node scripts/transform.js",
  37. "pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js",
  38. "build-live-viewer": "browserify index.js --standalone whatwgURL > live-viewer/whatwg-url.js",
  39. "test": "jest"
  40. },
  41. "jest": {
  42. "collectCoverageFrom": [
  43. "lib/**/*.js",
  44. "!lib/utils.js"
  45. ],
  46. "coverageDirectory": "coverage",
  47. "coverageReporters": [
  48. "lcov",
  49. "text-summary"
  50. ],
  51. "testEnvironment": "node",
  52. "testMatch": [
  53. "<rootDir>/test/**/*.js"
  54. ],
  55. "testPathIgnorePatterns": [
  56. "^<rootDir>/test/testharness.js$",
  57. "^<rootDir>/test/web-platform-tests/"
  58. ]
  59. }
  60. }