-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.48 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "vite-plugin-resize-image",
"version": "0.0.7",
"description": "📦 📦 unplugin compression Image Compression plugin based on squoosh and sharp",
"scripts": {
"build": "tsup && npm run build:fix",
"dev": "tsup --watch src && npm run build:fix",
"build:fix": "esno scripts/postbuild.ts",
"lint": "eslint .",
"format": "prettier --write .",
"play": "npm -C playground run dev",
"prepublishOnly": "npm run build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"test": "vitest"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./*": "./*",
"./nuxt": {
"require": "./dist/nuxt.js",
"import": "./dist/nuxt.mjs"
},
"./resolvers": {
"require": "./dist/resolvers.js",
"import": "./dist/resolvers.mjs"
},
"./rollup": {
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./types": {
"require": "./dist/types.js",
"import": "./dist/types.mjs"
},
"./vite": {
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./esbuild": {
"require": "./dist/esbuild.js",
"import": "./dist/esbuild.mjs"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist"
],
"keywords": [
"unplugin",
"vite",
"webpack",
"rollup",
"esbuild",
"imagemin"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^20.8.8",
"bumpp": "^9.2.0",
"eslint": "^8.52.0",
"eslint-config-relaxed-ts": "^2.0.34",
"esno": "^0.17.0",
"fast-glob": "^3.3.1",
"filesize": "^10.1.0",
"pathe": "^1.1.1",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vite": "5.0.0-beta.11",
"vitest": "^0.34.6",
"webpack": "^5.89.0"
},
"dependencies": {
"@nuxt/kit": "^3.8.0",
"@nuxt/schema": "^3.8.0",
"@rollup/pluginutils": "^5.0.5",
"@squoosh/lib": "^0.5.3",
"chalk": "^4.1.2",
"ora": "6.3.0",
"sharp": "^0.32.6",
"svgo": "^3.0.2",
"unplugin": "^1.5.0"
},
"engines": {
"node": ">=14"
}
}