forked from FatehAK/vite-plugin-image-optimizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.99 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
{
"name": "vite-plugin-image-optimizer",
"version": "1.1.7",
"author": "fatehak",
"files": [
"dist/"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"license": "MIT",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./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 --loglevel warn --cache --cache-strategy content --cache-location ./node_modules/.cache/.prettiercache --check .",
"prettier-fix": "prettier --loglevel 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",
"prepare": "husky install",
"lint-staged": "lint-staged",
"cz": "czg"
},
"dependencies": {
"ansi-colors": "^4.1.3",
"pathe": "^1.1.2"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@types/node": "^20.11.16",
"@typescript-eslint/parser": "^5.62.0",
"concurrently": "^8.2.2",
"czg": "1.8.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-semistandard": "^17.0.0",
"eslint-formatter-pretty": "^5.0.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.23.0",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"release-it": "^15.11.0",
"rimraf": "^5.0.5",
"rollup-plugin-visualizer": "^5.12.0",
"sharp": "^0.33.2",
"svgo": "^3.2.0",
"typescript": "^5.3.3",
"vite": "^4.5.2",
"vite-plugin-dts": "^2.3.0"
},
"peerDependencies": {
"vite": ">=3"
},
"engines": {
"node": ">=14"
},
"packageManager": "[email protected]",
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}