package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "whatwg-url",
  3. "version": "7.1.0",
  4. "description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery",
  5. "main": "lib/public-api.js",
  6. "files": [
  7. "lib/"
  8. ],
  9. "author": "Sebastian Mayr <github@smayr.name>",
  10. "license": "MIT",
  11. "repository": "jsdom/whatwg-url",
  12. "dependencies": {
  13. "lodash.sortby": "^4.7.0",
  14. "tr46": "^1.0.1",
  15. "webidl-conversions": "^4.0.2"
  16. },
  17. "devDependencies": {
  18. "browserify": "^16.2.2",
  19. "domexception": "^1.0.1",
  20. "eslint": "^5.4.0",
  21. "got": "^9.2.2",
  22. "jest": "^23.5.0",
  23. "recast": "^0.15.3",
  24. "webidl2js": "^9.0.1"
  25. },
  26. "scripts": {
  27. "build": "node scripts/transform.js && node scripts/convert-idl.js",
  28. "coverage": "jest --coverage",
  29. "lint": "eslint .",
  30. "prepublish": "node scripts/transform.js && node scripts/convert-idl.js",
  31. "pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js && node scripts/convert-idl.js",
  32. "build-live-viewer": "browserify lib/public-api.js --standalone whatwgURL > live-viewer/whatwg-url.js",
  33. "test": "jest"
  34. },
  35. "jest": {
  36. "collectCoverageFrom": [
  37. "lib/**/*.js",
  38. "!lib/utils.js"
  39. ],
  40. "coverageDirectory": "coverage",
  41. "coverageReporters": [
  42. "lcov",
  43. "text-summary"
  44. ],
  45. "testEnvironment": "node",
  46. "testMatch": [
  47. "<rootDir>/test/**/*.js"
  48. ],
  49. "testPathIgnorePatterns": [
  50. "^<rootDir>/test/testharness.js$",
  51. "^<rootDir>/test/web-platform-tests/"
  52. ]
  53. }
  54. }