-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
53 lines (53 loc) · 1.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "image-blob-reduce",
"version": "4.1.0",
"description": "High quality image resize in browser for blobs (`pica` wrapper with some sugar)",
"keywords": [
"resize",
"scale",
"image",
"lanczos",
"canvas",
"blob"
],
"repository": "nodeca/image-blob-reduce",
"license": "MIT",
"files": [
"index.js",
"lib/",
"dist/"
],
"exports": {
"./package.json": "./package.json",
"./lib/image_traverse.js": "./lib/image_traverse.js",
".": {
"import": "./dist/image-blob-reduce.esm.mjs",
"require": "./index.js"
}
},
"module": "./dist/image-blob-reduce.esm.mjs",
"scripts": {
"test": "npm run lint && npm run test-common && npm run test-browser",
"test-common": "mocha ./test/common.js",
"test-browser": "electron-mocha -t 10s --renderer ./test/browser.js",
"lint": "eslint .",
"demo": "node support/build_demo.js",
"gh-pages": "npm run demo && gh-pages -d demo -f",
"build": "rollup -c support/rollup.config.js",
"prepublishOnly": "npm run gh-pages"
},
"dependencies": {
"pica": "^9.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"electron": "^16.0.4",
"electron-mocha": "^11.0.2",
"eslint": "^8.4.1",
"gh-pages": "^3.0.0",
"rollup": "^2.29.0",
"rollup-plugin-terser": "^7.0.2",
"shelljs": "^0.8.4"
}
}