UNPKG

2.37 kBJSONView Raw
1{
2 "name": "blueimp-load-image",
3 "version": "5.12.0",
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, cropped or rotated HTML img or canvas element. It also provides methods to parse image metadata to extract IPTC and Exif tags as well as embedded thumbnail images, to overwrite the Exif Orientation value 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 "rotate",
17 "img",
18 "canvas",
19 "meta",
20 "exif",
21 "orientation",
22 "thumbnail",
23 "iptc"
24 ],
25 "homepage": "https://github.com/blueimp/JavaScript-Load-Image",
26 "author": {
27 "name": "Sebastian Tschan",
28 "url": "https://blueimp.net"
29 },
30 "repository": {
31 "type": "git",
32 "url": "git://github.com/blueimp/JavaScript-Load-Image.git"
33 },
34 "license": "MIT",
35 "devDependencies": {
36 "eslint": "7",
37 "eslint-config-blueimp": "2",
38 "eslint-config-prettier": "6",
39 "eslint-plugin-jsdoc": "25",
40 "eslint-plugin-prettier": "3",
41 "prettier": "2",
42 "uglify-js": "3"
43 },
44 "eslintConfig": {
45 "extends": [
46 "blueimp",
47 "plugin:jsdoc/recommended",
48 "plugin:prettier/recommended"
49 ],
50 "env": {
51 "browser": true
52 }
53 },
54 "eslintIgnore": [
55 "js/*.min.js",
56 "js/vendor",
57 "test/vendor"
58 ],
59 "prettier": {
60 "arrowParens": "avoid",
61 "proseWrap": "always",
62 "semi": false,
63 "singleQuote": true,
64 "trailingComma": "none"
65 },
66 "scripts": {
67 "lint": "eslint .",
68 "unit": "docker-compose run --rm mocha",
69 "test": "npm run lint && npm run unit",
70 "posttest": "docker-compose down -v",
71 "build": "cd js && uglifyjs load-image.js load-image-scale.js load-image-meta.js load-image-fetch.js load-image-orientation.js load-image-exif.js load-image-exif-map.js load-image-iptc.js load-image-iptc-map.js --ie8 -c -m -o load-image.all.min.js --source-map url=load-image.all.min.js.map",
72 "preversion": "npm test",
73 "version": "npm run build && git add -A js",
74 "postversion": "git push --tags origin master master:gh-pages && npm publish"
75 },
76 "files": [
77 "js/*.js",
78 "js/*.js.map"
79 ],
80 "main": "js/index.js"
81}