-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
73 lines (73 loc) · 1.94 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
{
"name": "bun-image-transform",
"version": "1.1.3",
"private": false,
"publishConfig": {
"access": "public"
},
"description": " A bun plugin to import and transform image on the go",
"author": {
"name": "gungun974",
"url": "https://github.com/gungun974"
},
"license": "MIT",
"keywords": [
"bun",
"sharp",
"image"
],
"homepage": "https://github.com/gungun974/bun-image-transform",
"repository": {
"type": "git",
"url": "https://github.com/gungun974/bun-image-transform"
},
"bugs": "https://github.com/gungun974/bun-image-transform/issues",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"bun": "./dist/index.js",
"node": "./dist/index.js",
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist/",
"README.md",
"LICENSE",
"logo.png",
"tsconfig.json",
"customTypes.d.ts"
],
"type": "module",
"scripts": {
"build": "rm -rf dist && tsc --project tsconfig.esm.json && echo 'import \"../customTypes.d.ts\";' >> ./dist/index.d.ts && tsc --project tsconfig.cjs.json && echo 'import \"../customTypes.d.ts\";' >> ./dist/cjs/index.d.ts && bun run ./build.ts",
"postbuild": "chmod +x ./dist/cli.js",
"lint": "tsc",
"release": "bun test && bun run build && npm publish --access public",
"cli": "bun run ./src/cli.ts",
"update-nix-node-lock": "bun install --yarn"
},
"bin": {
"bun-image-transform": "./dist/cli.js"
},
"devDependencies": {
"@changesets/cli": "^2.27.3",
"@types/node": "^20.12.12",
"bun-types": "latest",
"typescript": "^5.4.5"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"commander": "^12.1.0",
"esbuild": "^0.21.3",
"sharp": "^0.33.4"
}
}