-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 1.68 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
{
"name": "@343dev/optimizt",
"version": "10.0.0",
"description": "CLI image optimization tool",
"keywords": [
"svg",
"png",
"jpeg",
"gif",
"webp",
"avif",
"image-compression",
"sharp",
"svgo",
"gifsicle",
"guetzli"
],
"license": "MIT",
"author": "Andrey Warkentin (https://github.com/343dev)",
"repository": {
"type": "git",
"url": "https://github.com/343dev/optimizt"
},
"exports": "./index.js",
"bin": {
"optimizt": "./cli.js"
},
"files": [
"MIGRATION.md",
"cli.js",
"convert.js",
"index.js",
"lib/",
"optimize.js",
".optimiztrc.cjs"
],
"scripts": {
"license-check": "npx [email protected] --report detailed --allow '0BSD;Apache-2.0;Artistic-2.0;BSD-2-Clause;BSD-3-Clause;BSD-4-Clause;CC0-1.0;CC-BY-4.0;CC-BY-SA-4.0;ISC;LGPL-2.1-or-later;LGPL-3.0-or-later;MIT;MPL-1.1;MPL-2.0;Python-2.0;Unlicense;W3C;W3C-20150513;X11;Zlib' --exclude 'spdx-exceptions'",
"lint": "npx eslint ./",
"test": "NODE_OPTIONS=--experimental-vm-modules jest tests",
"update-git-hooks": "npx simple-git-hooks"
},
"type": "module",
"engines": {
"node": ">=18.18"
},
"dependencies": {
"@343dev/guetzli": "^1.0.1",
"cli-progress": "^3.11.0",
"commander": "^12.1.0",
"exec-buffer": "^3.2.0",
"fdir": "^6.4.0",
"gifsicle": "^7.0.1",
"p-limit": "^6.1.0",
"sharp": "^0.33.5",
"svgo": "^3.3.2"
},
"devDependencies": {
"@343dev/eslint-config": "^2.0.0",
"eslint": "^9.13.0",
"globals": "^15.11.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"simple-git-hooks": "^2.11.1"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npm test && npm run license-check"
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
}
}