package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "blueimp-load-image",
  3. "version": "2.12.2",
  4. "title": "JavaScript Load Image",
  5. "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.",
  6. "keywords": [
  7. "javascript",
  8. "load",
  9. "loading",
  10. "image",
  11. "file",
  12. "blob",
  13. "url",
  14. "scale",
  15. "crop",
  16. "img",
  17. "canvas",
  18. "meta",
  19. "exif",
  20. "thumbnail",
  21. "resizing"
  22. ],
  23. "homepage": "https://github.com/blueimp/JavaScript-Load-Image",
  24. "author": {
  25. "name": "Sebastian Tschan",
  26. "url": "https://blueimp.net"
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "git://github.com/blueimp/JavaScript-Load-Image.git"
  31. },
  32. "license": "MIT",
  33. "devDependencies": {
  34. "phantomjs-prebuilt": "2.1.13",
  35. "mocha-phantomjs-core": "1.3.1",
  36. "standard": "8.3.0",
  37. "uglify-js": "2.7.3"
  38. },
  39. "scripts": {
  40. "lint": "standard *.js js/*.js test/*.js",
  41. "unit": "phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html",
  42. "test": "npm run lint && npm run unit",
  43. "build": "cd js && uglifyjs load-image.js load-image-scale.js load-image-meta.js load-image-fetch.js load-image-exif.js load-image-exif-map.js load-image-orientation.js -c -m -o load-image.all.min.js --source-map load-image.all.min.js.map",
  44. "preversion": "npm test",
  45. "version": "npm run build && git add -A js",
  46. "postversion": "git push --tags origin master master:gh-pages && npm publish"
  47. },
  48. "main": "js/index.js"
  49. }