-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.3 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
{
"name": "wasm-webp",
"version": "0.0.2",
"description": "",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"type": "module",
"keywords": [
"webp",
"wasm",
"libwebp",
"animation",
"encode",
"decode",
"WebAssembly",
"canvas"
],
"files": [
"dist"
],
"repository": {
"url": "https://github.com/nieyuyao/webp-wasm.git"
},
"homepage": "https://github.com/nieyuyao/webp-wasm/blob/main/README.md",
"scripts": {
"dev": "vite example",
"build-wasm:dev": "bash ./build.sh -dev",
"build-wasm:esm": "bash ./build.sh -es6",
"build-wasm:cjs": "bash ./build.sh",
"build": "npm run build:esm",
"build:esm": "npm run build-wasm:esm && tsc -m ES6 --outDir ./dist/esm && cp -r src/*.d.ts dist",
"build:cjs": "npm run build-wasm:cjs && tsc -m commonjs --outDir ./dist/cjs && cp -r src/*.d.ts dist",
"test": "node --experimental-wasm-modules --experimental-vm-modules ./node_modules/jest/bin/jest.js",
"release": "bash ./release.sh"
},
"author": "nieyuyao",
"license": "MIT",
"devDependencies": {
"@napi-rs/canvas": "^0.1.51",
"@vitejs/plugin-vue": "^5.0.4",
"jest": "^29.7.0",
"typescript": "^5.4.3",
"vite": "^5.2.7",
"vue": "^3.4.21",
"vue-router": "^4.3.0"
}
}