-
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.83 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 3.83 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "image-minimizer-webpack-plugin",
"version": "5.0.0",
"description": "Webpack loader and plugin to optimize (compress) images using imagemin",
"keywords": [
"webpack",
"loader",
"plugin",
"imagemin",
"images",
"minify",
"compress",
"optimize"
],
"homepage": "https://github.com/webpack/image-minimizer-webpack-plugin",
"bugs": "https://github.com/webpack/image-minimizer-webpack-plugin/issues",
"repository": "webpack/image-minimizer-webpack-plugin",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"license": "MIT",
"author": "Alexander Krasnoyarov (https://github.com/evilebottnawi)",
"main": "dist/index.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types"
],
"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=main",
"security": "npm audit --production",
"lint:prettier": "prettier --cache --list-different .",
"lint:code": "eslint --cache .",
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
"lint": "npm-run-all -l -p \"lint:**\"",
"fix:code": "npm run lint:code -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"fix": "npm-run-all -l fix:code 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"
},
"overrides": {
"sharp": "$sharp",
"imagemin-avif": {
"sharp": "$sharp"
}
},
"dependencies": {
"schema-utils": "^4.2.0",
"serialize-javascript": "^7.0.3"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@commitlint/cli": "^20.4.2",
"@commitlint/config-conventional": "^20.4.2",
"@squoosh/lib": "^0.5.3",
"@types/imagemin": "^9.0.0",
"@types/node": "^20.14.9",
"@types/serialize-javascript": "^5.0.4",
"copy-webpack-plugin": "^14.0.0",
"cross-env": "^7.0.3",
"cspell": "^9.7.0",
"css-loader": "^7.1.2",
"del-cli": "^7.0.0",
"eslint": "^9.31.0",
"eslint-config-webpack": "^4.4.2",
"eslint-plugin-jest": "^29.15.0",
"file-loader": "^6.2.0",
"file-type": "^16.5.4",
"husky": "^9.1.4",
"image-size": "^2.0.2",
"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": "^12.0.0",
"imagemin-webp": "^8.0.0",
"jest": "^30.0.0",
"lint-staged": "^16.3.1",
"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.34.3",
"standard-version": "^9.5.0",
"svgo": "^4.0.0",
"tempy": "^3.1.0",
"typescript": "^5.5.3",
"url-loader": "^4.1.1",
"webpack": "^5.92.1"
},
"peerDependencies": {
"webpack": "^5.1.0"
},
"peerDependenciesMeta": {
"sharp": {
"optional": true
},
"@squoosh/lib": {
"optional": true
},
"imagemin": {
"optional": true
},
"svgo": {
"optional": true
}
},
"engines": {
"node": ">= 20.9.0"
}
}