-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.19 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
{
"name": "image-optimization",
"version": "1.0.0",
"description": "A demonstration of various optimization techniques",
"repository": "git@github.com:dannytce/image-optimization.git",
"author": "dannytce <dankijkov@gmail.com>",
"license": "MIT",
"lint-staged": {
"*.{png,jpeg,jpg,gif,svg}": [
"node ./imagemin-lint-staged-custom.js",
"git add"
]
},
"scripts": {
"image-webpack-loader": "webpack --mode=production --config=webpack/image-webpack-loader.js"
},
"devDependencies": {
"file-loader": "^3.0.1",
"husky": "^1.3.1",
"image-webpack-loader": "^4.6.0",
"imagemin": "^6.1.0",
"imagemin-advpng": "^5.0.0",
"imagemin-gifsicle": "^6.0.1",
"imagemin-jpegtran": "^6.0.0",
"imagemin-lint-staged": "^0.4.0",
"imagemin-mozjpeg": "^8.0.0",
"imagemin-optipng": "^6.0.0",
"imagemin-pngquant": "^7.0.0",
"imagemin-svgo": "^7.0.0",
"imagemin-webp": "^5.0.0",
"lint-staged": "^8.1.0",
"webpack": "^4.28.4",
"webpack-cli": "^3.2.1"
},
"husky": {
"hooks": {
"pre-commit": "printf \"pre-commit hook disabled. To enable replace with imagemin-lint-staged or node ./imagemin-lint-staged-custom.js\""
}
}
}