package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "whatwg-url",
  3. "version": "6.5.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": "^4.19.1",
  21. "istanbul": "~0.4.5",
  22. "jest": "^22.4.3",
  23. "jsdom": "^11.8.0",
  24. "recast": "~0.14.7",
  25. "request": "^2.85.0",
  26. "webidl2js": "^7.4.0"
  27. },
  28. "scripts": {
  29. "build": "node scripts/transform.js && node scripts/convert-idl.js",
  30. "coverage": "jest --coverage",
  31. "lint": "eslint .",
  32. "prepublish": "node scripts/transform.js && node scripts/convert-idl.js",
  33. "pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js && node scripts/convert-idl.js",
  34. "build-live-viewer": "browserify lib/public-api.js --standalone whatwgURL > live-viewer/whatwg-url.js",
  35. "test": "jest"
  36. },
  37. "jest": {
  38. "collectCoverageFrom": [
  39. "lib/**/*.js",
  40. "!lib/utils.js"
  41. ],
  42. "coverageDirectory": "coverage",
  43. "coverageReporters": [
  44. "lcov",
  45. "text-summary"
  46. ],
  47. "testEnvironment": "node",
  48. "testMatch": [
  49. "<rootDir>/test/**/*.js"
  50. ],
  51. "testPathIgnorePatterns": [
  52. "^<rootDir>/test/testharness.js$",
  53. "^<rootDir>/test/web-platform-tests/"
  54. ]
  55. }
  56. }