package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "image-size",
  3. "version": "1.1.1",
  4. "description": "get dimensions of any image file",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "files": [
  8. "dist",
  9. "bin/image-size.js"
  10. ],
  11. "engines": {
  12. "node": ">=16.x"
  13. },
  14. "packageManager": "yarn@4.0.2",
  15. "bin": "bin/image-size.js",
  16. "scripts": {
  17. "lint": "eslint --ext .ts,.js bin lib specs",
  18. "format": "prettier --write lib specs",
  19. "test": "nyc mocha",
  20. "clean": "rm -rf dist docs",
  21. "generate-docs": "typedoc",
  22. "build": "tsc",
  23. "prepack": "yarn clean && yarn build"
  24. },
  25. "keywords": [
  26. "image",
  27. "size",
  28. "dimensions",
  29. "resolution",
  30. "width",
  31. "height",
  32. "avif",
  33. "bmp",
  34. "cur",
  35. "gif",
  36. "heic",
  37. "heif",
  38. "icns",
  39. "ico",
  40. "jpeg",
  41. "png",
  42. "psd",
  43. "svg",
  44. "tga",
  45. "tiff",
  46. "webp"
  47. ],
  48. "repository": "git://github.com/image-size/image-size.git",
  49. "author": "netroy <aditya@netroy.in> (http://netroy.in/)",
  50. "license": "MIT",
  51. "devDependencies": {
  52. "@types/chai": "4.3.11",
  53. "@types/glob": "8.1.0",
  54. "@types/mocha": "10.0.6",
  55. "@types/node": "18.19.3",
  56. "@types/sinon": "17.0.2",
  57. "@typescript-eslint/eslint-plugin": "6.16.0",
  58. "@typescript-eslint/parser": "6.16.0",
  59. "chai": "4.3.10",
  60. "eslint": "8.56.0",
  61. "eslint-config-prettier": "9.1.0",
  62. "eslint-plugin-prettier": "5.1.2",
  63. "glob": "10.3.10",
  64. "mocha": "10.2.0",
  65. "nyc": "15.1.0",
  66. "prettier": "3.1.1",
  67. "sinon": "17.0.1",
  68. "ts-node": "10.9.2",
  69. "typedoc": "0.25.4",
  70. "typescript": "5.3.3"
  71. },
  72. "nyc": {
  73. "include": "lib",
  74. "exclude": "specs/*.spec.ts"
  75. },
  76. "dependencies": {
  77. "queue": "6.0.2"
  78. }
  79. }