-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
70 lines (70 loc) · 1.77 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
{
"name": "@funboxteam/optimizt",
"version": "5.0.2",
"description": "CLI image optimization tool",
"license": "MIT",
"author": "Andrey Warkentin (https://github.com/343dev)",
"repository": {
"type": "git",
"url": "https://github.com/funbox/optimizt"
},
"exports": "./index.js",
"bin": {
"optimizt": "./cli.js"
},
"files": [
"MIGRATION.md",
"cli.js",
"index.js",
"lib/",
"svgo/",
".optimiztrc.js"
],
"scripts": {
"lint-src": "eslint --config .eslintrc.cjs --ignore-pattern 'tests/*' ./",
"lint-tests": "eslint --config tests/.eslintrc.cjs tests/",
"lint": "npm run lint-src && npm run lint-tests",
"prepublishOnly": "if [ -z \"$CI\" ]; then lawyer; fi",
"test": "NODE_OPTIONS=--experimental-vm-modules jest tests",
"update-git-hooks": "npx simple-git-hooks"
},
"type": "module",
"engines": {
"node": ">=14.14"
},
"dependencies": {
"cli-progress": "^3.11.0",
"commander": "^9.2.0",
"exec-buffer": "^3.2.0",
"fast-glob": "^3.2.11",
"gif2webp-bin": "^5.0.0",
"gifsicle": "^7.0.0",
"guetzli": "https://github.com/funbox/guetzli-bin/tarball/main",
"p-limit": "^4.0.0",
"sharp": "^0.30.4",
"svgo": "2.6.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
"@funboxteam/eslint-config": "^7.1.0",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^26.2.2",
"jest": "^28.1.0",
"lint-staged": "^12.4.1",
"simple-git-hooks": "^2.7.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"!(tests)/**/*.js": [
"eslint --fix --config .eslintrc.cjs"
],
"./*.js": [
"eslint --fix --config .eslintrc.cjs"
],
"tests/**/*.js": [
"eslint --fix --config tests/.eslintrc.cjs"
]
}
}