-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
139 lines (139 loc) · 4.18 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "image-minimizer-webpack-plugin",
"version": "4.1.3",
"description": "Webpack loader and plugin to optimize (compress) images using imagemin",
"license": "MIT",
"repository": "webpack-contrib/image-minimizer-webpack-plugin",
"author": "Alexander Krasnoyarov (https://github.com/evilebottnawi)",
"homepage": "https://github.com/webpack-contrib/image-minimizer-webpack-plugin",
"bugs": "https://github.com/webpack-contrib/image-minimizer-webpack-plugin/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"main": "dist/index.js",
"types": "types/index.d.ts",
"engines": {
"node": ">= 18.12.0"
},
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist types",
"prebuild": "npm run clean",
"build:types": "tsc --declaration --emitDeclarationOnly && prettier \"types/**/*.ts\" --write",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build": "npm-run-all -p \"build:**\"",
"commitlint": "commitlint --from=master",
"security": "npm audit --production",
"lint:prettier": "prettier --cache --list-different .",
"lint:js": "eslint --cache .",
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
"lint": "npm-run-all -l -p \"lint:**\"",
"fix:js": "npm run lint:js -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"fix": "npm-run-all -l fix:js fix:prettier",
"test:only": "cross-env NODE_ENV=test node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand",
"test:watch": "npm run test:only -- --watch",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"pretest": "npm run lint",
"test": "npm run test:coverage",
"prepare": "husky && npm run build",
"release": "standard-version"
},
"files": [
"dist",
"types"
],
"overrides": {
"sharp": "$sharp",
"imagemin-avif": {
"sharp": "$sharp"
}
},
"peerDependencies": {
"webpack": "^5.1.0"
},
"peerDependenciesMeta": {
"sharp": {
"optional": true
},
"@squoosh/lib": {
"optional": true
},
"imagemin": {
"optional": true
},
"svgo": {
"optional": true
}
},
"dependencies": {
"schema-utils": "^4.2.0",
"serialize-javascript": "^6.0.2"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@squoosh/lib": "^0.5.3",
"@types/imagemin": "^9.0.0",
"@types/node": "^20.14.9",
"@types/serialize-javascript": "^5.0.4",
"@types/sharp": "^0.32.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-jest": "^29.7.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"cspell": "^8.13.1",
"css-loader": "^7.1.2",
"del": "^7.1.0",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-itgalaxy": "^138.0.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-unicorn": "^44.0.2",
"file-loader": "^6.2.0",
"file-type": "^16.5.4",
"husky": "^9.1.4",
"image-size": "^1.1.1",
"imagemin": "^9.0.0",
"imagemin-avif": "^0.1.6",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^10.0.0",
"imagemin-svgo": "^11.0.1",
"imagemin-webp": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.8",
"memfs": "^4.11.1",
"mini-css-extract-plugin": "^2.9.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"remark-cli": "^12.0.1",
"remark-preset-lint-itgalaxy": "^16.0.0",
"sharp": "^0.33.3",
"standard-version": "^9.5.0",
"svgo": "^3.3.2",
"tempy": "^3.1.0",
"typescript": "^5.5.3",
"url-loader": "^4.1.1",
"webpack": "^5.92.1"
},
"keywords": [
"webpack",
"loader",
"plugin",
"imagemin",
"images",
"minify",
"compress",
"optimize"
]
}