1 | {
|
2 | "name": "img-about",
|
3 | "version": "2.2.0",
|
4 | "description": "A module for image processing in browser, includes getting naturalSize, zooming, compressing... wrapped by Promise",
|
5 | "main": "./lib/umd/index.js",
|
6 | "module": "./lib/es/index.js",
|
7 | "unpkg": "./lib/umd/index.js",
|
8 | "types": "./index.d.ts",
|
9 | "scripts": {
|
10 | "build": "rimraf ./lib && cross-env NODE_ENV=production rollup -c",
|
11 | "eslint": "eslint ./src --fix",
|
12 | "test": "npm run build && mocha ./test/index.spec.js",
|
13 | "changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
14 | "commit": "git-cz"
|
15 | },
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/livelybone/img-about.git"
|
19 | },
|
20 | "keywords": [
|
21 | "image",
|
22 | "natural",
|
23 | "size",
|
24 | "naturalSize",
|
25 | "natural",
|
26 | "width",
|
27 | "naturalWidth",
|
28 | "natural",
|
29 | "height",
|
30 | "naturalHeight",
|
31 | "zoom",
|
32 | "image resize",
|
33 | "compress",
|
34 | "browser"
|
35 | ],
|
36 | "author": "livelybone(2631541504@qq.com)",
|
37 | "license": "MIT",
|
38 | "bugs": {
|
39 | "url": "https://github.com/livelybone/img-about/issues"
|
40 | },
|
41 | "homepage": "https://livelybone.github.io/tool/img-about/",
|
42 | "devDependencies": {
|
43 | "commitizen": "^3.0.7",
|
44 | "conventional-changelog-cli": "^2.0.21",
|
45 | "cz-conventional-changelog": "^2.1.0",
|
46 | "eslint": "^5.16.0",
|
47 | "mocha": "^5.2.0",
|
48 | "rollup": "^1.9.0",
|
49 | "rollup-plugin-commonjs": "^9.3.4",
|
50 | "rollup-plugin-license": "^0.8.1",
|
51 | "rollup-plugin-node-resolve": "^4.2.1",
|
52 | "rollup-plugin-uglify": "^6.0.2"
|
53 | },
|
54 | "dependencies": {
|
55 | "@livelybone/copy": "^2.5.4",
|
56 | "base64-blob": "^1.4.1"
|
57 | },
|
58 | "config": {
|
59 | "commitizen": {
|
60 | "path": "./node_modules/cz-conventional-changelog"
|
61 | }
|
62 | }
|
63 | }
|