-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.3 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.3 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
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
111
112
{
"name": "vite-plugin-image-optimizer",
"version": "2.0.3",
"author": "fatehak",
"type": "module",
"files": [
"dist/"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"license": "MIT",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"description": "A Vite plugin to optimize your image assets using Sharp.js and SVGO",
"repository": {
"type": "git",
"url": "https://github.com/FatehAK/vite-plugin-image-optimizer"
},
"bugs": {
"url": "https://github.com/FatehAK/vite-plugin-image-optimizer/issues"
},
"homepage": "https://github.com/FatehAK/vite-plugin-image-optimizer#readme",
"keywords": [
"vite",
"vite-plugin",
"image compression",
"image optimization",
"svgo",
"sharp.js"
],
"scripts": {
"start": "vite",
"build": "vite build",
"build:watch": "vite build --watch",
"release": "release-it",
"tarball": "rimraf tar && pnpm pack --pack-destination ./tar",
"analyze": "open ./reports/build-stats.html",
"clean": "pnpm rimraf reports dist node_modules/.vite node_modules/.cache",
"lint": "concurrently -g -n \"prettier,eslint\" -c \"bgGreen.bold,bgBlue.bold\" \"pnpm prettier-check\" \"pnpm eslint-check\"",
"lint:fix": "pnpm eslint-fix && pnpm prettier-fix",
"prettier-check": "prettier --log-level warn --cache --cache-strategy content --cache-location ./node_modules/.cache/.prettiercache --check .",
"prettier-fix": "prettier --log-level warn --cache --cache-strategy content --cache-location ./node_modules/.cache/.prettiercache --write .",
"eslint-check": "eslint --max-warnings=25 --format=pretty --cache --cache-strategy content --cache-location ./node_modules/.cache/.eslintcache '{**/*,*}.{js,ts}'",
"eslint-fix": "pnpm eslint-check --fix",
"lint-staged": "lint-staged",
"commit": "git-cz",
"prepare": "husky"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"dependencies": {
"ansi-colors": "^4.1.3",
"pathe": "^2.0.3"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/types": "^19.8.1",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4",
"@types/node": "^24.12.0",
"@typescript-eslint/parser": "^8.56.1",
"concurrently": "^9.2.1",
"cz-git": "^1.12.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-formatter-pretty": "^6.0.1",
"eslint-plugin-only-warn": "^1.2.1",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-sonarjs": "^3.0.7",
"globals": "^16.5.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.2",
"prettier": "^3.8.1",
"release-it": "^19.2.4",
"rimraf": "^6.1.3",
"rollup-plugin-visualizer": "^6.0.11",
"sharp": "^0.34.5",
"svgo": "^4.0.1",
"typescript": "^5.9.3",
"vite": "^6.4.1",
"vite-plugin-dts": "^4.5.4"
},
"peerDependencies": {
"vite": ">=5",
"svgo": ">=4",
"sharp": ">=0.34.0"
},
"peerDependenciesMeta": {
"svgo": {
"optional": true
},
"sharp": {
"optional": true
}
},
"engines": {
"node": ">=18.17.0"
},
"packageManager": "[email protected]",
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}