UNPKG

2.3 kBJSONView Raw
1{
2 "name": "blueimp-load-image",
3 "version": "2.31.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 and/or cropped HTML img or canvas element. It also provides methods to parse image meta data to extract IPTC and Exif tags as well as embedded thumbnail images 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 "iptc",
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 "license": "MIT",
34 "devDependencies": {
35 "eslint": "6",
36 "eslint-config-blueimp": "1",
37 "eslint-config-prettier": "6",
38 "eslint-plugin-jsdoc": "22",
39 "eslint-plugin-prettier": "3",
40 "prettier": "2",
41 "uglify-js": "3"
42 },
43 "eslintConfig": {
44 "extends": [
45 "blueimp",
46 "plugin:jsdoc/recommended",
47 "plugin:prettier/recommended"
48 ],
49 "env": {
50 "browser": true
51 }
52 },
53 "eslintIgnore": [
54 "js/*.min.js",
55 "js/vendor",
56 "test/vendor"
57 ],
58 "prettier": {
59 "arrowParens": "avoid",
60 "proseWrap": "always",
61 "semi": false,
62 "singleQuote": true,
63 "trailingComma": "none"
64 },
65 "scripts": {
66 "lint": "eslint .",
67 "unit": "docker-compose run --rm mocha",
68 "test": "npm run lint && npm run unit",
69 "posttest": "docker-compose down -v",
70 "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 -c -m -o load-image.all.min.js --source-map url=load-image.all.min.js.map",
71 "preversion": "npm test",
72 "version": "npm run build && git add -A js",
73 "postversion": "git push --tags origin master master:gh-pages && npm publish"
74 },
75 "files": [
76 "js/*.js",
77 "js/*.js.map"
78 ],
79 "main": "js/index.js"
80}