package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "whatwg-mimetype",
  3. "description": "Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard",
  4. "keywords": [
  5. "content-type",
  6. "mime type",
  7. "mimesniff",
  8. "http",
  9. "whatwg"
  10. ],
  11. "version": "3.0.0",
  12. "author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
  13. "license": "MIT",
  14. "repository": "jsdom/whatwg-mimetype",
  15. "main": "lib/mime-type.js",
  16. "files": [
  17. "lib/"
  18. ],
  19. "scripts": {
  20. "test": "jest",
  21. "coverage": "jest --coverage",
  22. "lint": "eslint .",
  23. "pretest": "node scripts/get-latest-platform-tests.js"
  24. },
  25. "devDependencies": {
  26. "@domenic/eslint-config": "^1.4.0",
  27. "eslint": "^7.32.0",
  28. "jest": "^27.2.0",
  29. "minipass-fetch": "^1.4.1",
  30. "printable-string": "^0.3.0",
  31. "whatwg-encoding": "^2.0.0"
  32. },
  33. "engines": {
  34. "node": ">=12"
  35. },
  36. "jest": {
  37. "coverageDirectory": "coverage",
  38. "coverageReporters": [
  39. "lcov",
  40. "text-summary"
  41. ],
  42. "testEnvironment": "node",
  43. "testMatch": [
  44. "<rootDir>/test/**/*.js"
  45. ]
  46. }
  47. }