package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "blueimp-load-image",
  3. "version": "2.7.0",
  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. "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-meta.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. "license": "MIT"
  49. }