package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "author": {
  3. "name": "Robert Kieffer",
  4. "url": "http://github.com/broofa",
  5. "email": "robert@broofa.com"
  6. },
  7. "type": "module",
  8. "engines": {
  9. "node": ">=16"
  10. },
  11. "main": "./dist/src/index.js",
  12. "exports": {
  13. ".": "./dist/src/index.js",
  14. "./lite": "./dist/src/index_lite.js",
  15. "./types/standard.js": "./dist/types/standard.js",
  16. "./types/other.js": "./dist/types/other.js",
  17. "./package.json": "./package.json"
  18. },
  19. "files": [
  20. "bin",
  21. "dist/src",
  22. "dist/types",
  23. "src",
  24. "types"
  25. ],
  26. "bin": {
  27. "mime": "bin/cli.js"
  28. },
  29. "contributors": [],
  30. "description": "A comprehensive library for mime-type mapping",
  31. "license": "MIT",
  32. "devDependencies": {
  33. "@types/mime-db": "1.*",
  34. "@types/mime-types": "2.1.4",
  35. "@types/node": "22.10.2",
  36. "@typescript-eslint/eslint-plugin": "8.18.1",
  37. "@typescript-eslint/parser": "8.18.1",
  38. "chalk": "5.3.0",
  39. "mime-score": "2.0.4",
  40. "mime-types": "2.1.35",
  41. "prettier": "3.4.2",
  42. "release-please": "16.15.0",
  43. "runmd": "1.3.9",
  44. "typescript": "5.7.2"
  45. },
  46. "scripts": {
  47. "build": "rm -fr dist && tsc",
  48. "build:types": "node dist/scripts/build.js",
  49. "build:watch": "npm run build -- --watch",
  50. "lint": "prettier -c .",
  51. "lint:fix": "prettier -w .",
  52. "prepack": "npm run build",
  53. "pretest": "npm run build",
  54. "prepublishOnly": "npm test",
  55. "test": "node --test && ./test/exports_test.sh",
  56. "test:watch": "clear && node --enable-source-maps --test --watch test"
  57. },
  58. "keywords": [
  59. "extension",
  60. "file",
  61. "mime",
  62. "mime-db",
  63. "mimetypes",
  64. "util"
  65. ],
  66. "name": "mime",
  67. "repository": {
  68. "url": "https://github.com/broofa/mime",
  69. "type": "git"
  70. },
  71. "version": "4.0.6",
  72. "funding": [
  73. "https://github.com/sponsors/broofa"
  74. ],
  75. "packageManager": "npm@11.0.0"
  76. }