package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "blueimp-load-image",
  3. "version": "2.6.1",
  4. "main": "index.js",
  5. "title": "JavaScript Load Image",
  6. "description": "JavaScript Load Image is a library to load images provided as File or Blob objects or via URL. It returns an optionally scaled and/or cropped HTML img or canvas element. It also provides a method to parse image meta data to extract Exif tags and thumbnails and to restore the complete image header after resizing.",
  7. "keywords": [
  8. "javascript",
  9. "load",
  10. "loading",
  11. "image",
  12. "file",
  13. "blob",
  14. "url",
  15. "scale",
  16. "crop",
  17. "img",
  18. "canvas",
  19. "meta",
  20. "exif",
  21. "thumbnail",
  22. "resizing"
  23. ],
  24. "homepage": "https://github.com/blueimp/JavaScript-Load-Image",
  25. "author": {
  26. "name": "Sebastian Tschan",
  27. "url": "https://blueimp.net"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "git://github.com/blueimp/JavaScript-Load-Image.git"
  32. },
  33. "devDependencies": {
  34. "mocha-phantomjs": "4.0.1",
  35. "standard": "6.0.7",
  36. "uglify-js": "2.6.1"
  37. },
  38. "scripts": {
  39. "test": "standard *.js js/*.js test/*.js && mocha-phantomjs test/index.html",
  40. "build": "cd js && uglifyjs load-image.js load-image-orientation.js load-image-meta.js load-image-exif.js load-image-exif-map.js -c -m -o load-image.all.min.js --source-map load-image.all.min.js.map",
  41. "preversion": "npm test",
  42. "version": "npm run build && git add -A js",
  43. "postversion": "git push --tags origin master master:gh-pages && npm publish"
  44. },
  45. "license": "MIT"
  46. }