-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
105 lines (105 loc) · 2.84 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
{
"packageManager": "[email protected]",
"name": "svgo-ll",
"version": "5.6.1-alpha.1",
"description": "svgo-ll is a Node.js library and command-line application for optimizing SVG images.",
"license": "MIT",
"type": "module",
"homepage": "https://github.com/svg-utils/svgo-ll#readme",
"repository": {
"type": "git",
"url": "https://github.com/svg-utils/svgo-ll"
},
"main": "./lib/svgo-node.js",
"bin": "./bin/svgo.js",
"types": "./lib/svgo-node.d.ts",
"exports": {
".": {
"import": "./lib/svgo-node.js",
"require": "./dist/svgo-node.cjs",
"types": "./lib/svgo-node.d.ts"
},
"./browser": {
"import": "./dist/svgo.browser.js",
"types": "./lib/svgo.d.ts"
}
},
"typesVersions": {
"*": {
".": [
"./lib/svgo-node.d.ts"
],
"browser": [
"./lib/svgo.d.ts"
]
}
},
"files": [
"bin",
"lib",
"plugins",
"dist",
"!**/*.test.js"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "node scripts/sync-version.js && rollup -c",
"typecheck": "tsc",
"lint": "eslint . && prettier --check .",
"fix": "eslint --fix . && prettier --write .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --maxWorkers=4 --coverage",
"test:bundles": "yarn build && node ./test/svgo.cjs && node ./test/browser.js",
"test:regression": "node ./test/regression-extract.js && cross-env NO_DIFF=1 node ./test/regression.js",
"test:regress": "cross-env NO_DIFF=1 node ./test/regression.js --preset next -i ./test/fixtures/files",
"qa": "yarn typecheck && yarn lint && yarn test && yarn test:bundles && yarn test:regress",
"prepublishOnly": "rimraf dist && yarn build"
},
"jest": {
"coveragePathIgnorePatterns": [
"fixtures"
],
"coverageReporters": [
"html",
"lcov",
"text"
]
},
"dependencies": {
"commander": "^12.1.0",
"css-select": "^5.1.0",
"css-tree": "^3.0.1",
"csso": "^5.0.5",
"picocolors": "^1.1.1",
"sax": "^1.4.1"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@types/csso": "^5.0.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.8.6",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.5",
"@types/sax": "^1.2.7",
"@types/tar-stream": "^3.1.3",
"cross-env": "^7.0.3",
"eslint": "^9.15.0",
"globals": "^15.9.0",
"jest": "^29.7.0",
"pixelmatch": "^6.0.0",
"playwright": "^1.48.2",
"pngjs": "^7.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.24.3",
"tar-stream": "^3.1.7",
"typescript": "^5.6.2"
},
"resolutions": {
"sax@^1.4.1": "patch:sax@npm%3A1.4.1#./.yarn/patches/sax-npm-1.4.1-503b1923cb.patch"
}
}