-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.31 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
{
"name": "squashify",
"version": "1.1.2",
"description": "A Node.js command-line tool and script to compress and optimize images, using different algorithms to reduce file size",
"license": "LGPL-3.0-or-later",
"contributors": [
"Erik Golinelli <[email protected]> (https://codekraft.it/)",
"John Hooks <[email protected]> (https://johnhooks.io/)"
],
"homepage": "https://github.com/wp-blocks/squashify/#readme",
"bugs": {
"url": "https://github.com/wp-blocks/squashify/issues"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wp-blocks/squashify.git"
},
"type": "module",
"bin": "lib/esm/bin.js",
"types": "./lib/@types/index.d.ts",
"module": "./lib/esm/",
"exports": {
"squashify": "./lib/esm/bin.js",
"default": "./lib/esm/bin.js"
},
"scripts": {
"prebuild": "rimraf lib && tsc --emitDeclarationOnly --outDir lib/@types/",
"build": "npx esbuild ./src/* --outdir=lib/esm/ --format=esm --platform=node --minify",
"watch": "tsc --watch --sourceMap --outDir lib/esm/",
"squashify": "node ./lib/esm/bin.js --in tests/images/ --out tests/output --verbose",
"squashifyDefaults": "node ./lib/esm/bin.js -d",
"test": "vitest --coverage",
"prepublish": "npm run build && npm run test"
},
"files": [
"lib",
"tests/unit",
"tests/data",
"*.json",
"*.md",
".gitignore",
"LICENSE"
],
"keywords": [
"image",
"compression",
"optimization",
"performance",
"CLI",
"tool",
"avif",
"webp",
"svg",
"development",
"frontend",
"SEO"
],
"dependencies": {
"glob": "^10.3.12",
"ini": "^4.1.2",
"prompts": "^2.4.2",
"sharp": "0.33.3",
"svgo": "^3.2.0",
"xml2js": "^0.6.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@babel/preset-typescript": "^7.24.1",
"@types/ini": "^4.1.0",
"@types/node": "^20.11.30",
"@types/prompts": "^2.4.9",
"@types/xml2js": "^0.4.14",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.57.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"prettier": "^3.2.5",
"typescript": "^5.4.3",
"vitest": "^1.4.0"
}
}