-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.27 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.27 KB
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
{
"type": "module",
"name": "svg-wasm",
"version": "0.1.6",
"description": "🎚️ A WASM-powered library for converting SVG images to WebP and JPEG formats.",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"unpkg": "dist/index.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"node": "./dist/index.mjs",
"default": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./svg_wasm_bg.wasm": "./svg_wasm_bg.wasm"
},
"repository": {
"type": "git",
"url": "https://github.com/yurucam/svg-wasm"
},
"author": "YURUCAM",
"license": "MIT",
"files": [
"dist",
"NOTICE",
"svg_wasm_bg.wasm"
],
"scripts": {
"build": "rm -rf pkg && rm -rf ./svg_wasm_bg.wasm && npm run build:wasm && npm run bundle:dts && node bundle && cp ./pkg/svg_wasm_bg.wasm ./svg_wasm_bg.wasm",
"build:wasm": "wasm-pack build --target web",
"bundle:dts": "dts-bundle-generator --no-banner --external-types -o dist/index.d.ts lib/index.ts"
},
"devDependencies": {
"dts-bundle-generator": "^8.0.0",
"esbuild": "^0.18.0",
"typescript": "^5.0.0"
},
"keywords": [
"svg",
"wasm",
"webp",
"jpeg",
"image",
"convert"
]
}