forked from node-libraries/wasm-image-optimization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 1.89 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
{
"name": "wasm-image-optimization",
"description": "Optimize images with wasm on edge runtime",
"version": "1.0.1",
"exports": {
"./esm": {
"default": {
"import": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
}
},
"./next": {
"default": {
"import": "./dist/next/index.js",
"types": "./dist/next/index.d.ts"
}
},
"./node": {
"default": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
".": {
"default": {
"types": "./dist/workers/index.d.ts",
"default": "./dist/workers/index.js"
}
}
},
"typesVersions": {
"*": {
"edge": [
"./dist/esm/index.d.ts"
],
"next": [
"./dist/next/index.d.ts"
],
"node": [
"./dist/cjs/index.d.ts"
],
"*": [
"./dist/workers/index.d.ts"
]
}
},
"license": "MIT",
"scripts": {
"test": "yarn ts-node test",
"lint:fix": "eslint --fix src/ && prettier -w src",
"build": "tsc && tsc -p ./tsconfig.csj.json && cpy esm dist",
"build:wasm": "docker compose -f docker/docker-compose.yml run --build --rm emcc make -j",
"docker:shell": "docker compose -f docker/docker-compose.yml run --build --rm emcc bash -l"
},
"devDependencies": {
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"cpy-cli": "^5.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"webp",
"encode",
"wasm",
"cloudflare",
"workers",
"WebAssembly"
],
"repository": "https://github.com/node-libraries/wasm-image-optimization",
"author": "SoraKumo <[email protected]>"
}