-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
81 lines (81 loc) · 2.06 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "wasm-vips",
"version": "0.0.11",
"description": "libvips for the browser and Node.js, compiled to WebAssembly with Emscripten",
"homepage": "https://github.com/kleisauke/wasm-vips",
"bugs": {
"url": "https://github.com/kleisauke/wasm-vips/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kleisauke/wasm-vips.git"
},
"license": "MIT",
"author": "Kleis Auke Wolthuizen",
"type": "commonjs",
"exports": {
".": {
"browser": {
"import": "./lib/vips-es6.js",
"require": "./lib/vips.js"
},
"node": {
"import": "./lib/vips-node.mjs",
"require": "./lib/vips-node.js"
},
"default": "./lib/vips.js"
},
"./versions": "./versions.json",
"./vips.wasm": "./lib/vips.wasm",
"./vips-heif.wasm": "./lib/vips-heif.wasm",
"./vips-jxl.wasm": "./lib/vips-jxl.wasm",
"./vips-resvg.wasm": "./lib/vips-resvg.wasm"
},
"main": "lib/vips-node.js",
"browser": "lib/vips.js",
"types": "lib/vips.d.ts",
"files": [
"lib/*.js",
"lib/*.mjs",
"lib/vips.d.ts",
"lib/vips.wasm",
"lib/vips-heif.wasm",
"lib/vips-jxl.wasm",
"lib/vips-resvg.wasm",
"THIRD-PARTY-NOTICES.md",
"versions.json"
],
"scripts": {
"build": "docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh",
"test": "npm run test:lint && npm run test:node",
"test:lint": "semistandard",
"test:node": "npm --prefix test/unit test",
"test:web": "serve -c test/unit/serve.json",
"bench": "npm run bench:node",
"bench:node": "npm --prefix test/bench test",
"bench:web": "serve -c test/bench/serve.json"
},
"devDependencies": {
"semistandard": "^17.0.0",
"serve": "^14.2.4"
},
"engines": {
"node": ">=16.4.0"
},
"semistandard": {
"globals": [
"vips"
],
"ignore": [
"src/closure-externs/wasm-vips.js",
"src/modules-pre.js",
"src/vips-library.js",
"src/workaround-cors-pre.js"
],
"env": [
"browser",
"node",
"mocha"
]
}
}