svgo
Version:
126 lines • 3.4 kB
JSON
{
"name": "svgo",
"version": "4.1.0",
"description": "SVGO is a Node.js library and command-line application for optimizing vector images.",
"license": "MIT",
"type": "module",
"keywords": [
"svgo",
"svg",
"optimize",
"minify"
],
"homepage": "https://svgo.dev",
"bugs": {
"url": "https://github.com/svg/svgo/issues"
},
"author": {
"name": "Kir Belevich",
"email": "kir@belevi.ch",
"url": "https://github.com/deepsweet"
},
"contributors": [
{
"name": "Sergey Belov",
"email": "peimei@ya.ru",
"url": "https://github.com/arikon"
},
{
"name": "Lev Solntsev",
"email": "lev.sun@ya.ru",
"url": "https://github.com/GreLI"
},
{
"name": "Bogdan Chadkin",
"email": "opensource@trysound.io",
"url": "https://github.com/TrySound"
},
{
"name": "Seth Falco",
"email": "seth@falco.fun",
"url": "https://falco.fun/"
}
],
"repository": {
"type": "git",
"url": "git://github.com/svg/svgo.git"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/svgo"
},
"bin": "./bin/svgo.js",
"types": "./types/lib/svgo-node.d.ts",
"exports": {
".": {
"import": "./lib/svgo-node.js",
"require": "./dist/svgo-node.cjs",
"types": "./types/lib/svgo-node.d.ts"
},
"./browser": {
"import": "./dist/svgo.browser.js",
"types": "./types/lib/svgo.d.ts"
}
},
"files": [
"bin",
"dist",
"lib",
"plugins",
"types",
"!**/*.test.js"
],
"engines": {
"node": ">=16"
},
"dependencies": {
"commander": "^11.1.0",
"css-select": "^6.0.0",
"css-tree": "^3.0.1",
"css-what": "^7.0.0",
"csso": "^5.0.5",
"picocolors": "^1.1.1",
"sax": "1.6.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@types/css-tree": "^2.3.10",
"@types/csso": "^5.0.4",
"@types/node": "^26.2.0",
"@types/pngjs": "^6.0.5",
"@types/sax": "^1.2.7",
"@types/tar-stream": "^3.1.4",
"cspell": "^10.0.1",
"eslint": "^10.8.1",
"globals": "^17.9.0",
"pixelmatch": "^7.2.0",
"playwright": "1.62.1",
"pngjs": "^7.0.0",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"rollup": "^4.62.4",
"tar-stream": "^3.2.0",
"tinypool": "^2.1.0",
"typescript": "^7.0.2",
"vitest": "^4.1.10"
},
"scripts": {
"build": "node scripts/sync-version.js && pnpm build:bundles && pnpm build:types",
"build:bundles": "pnpm clean:build && rollup -c",
"build:types": "pnpm clean:types && tsc -p tsconfig.build.json",
"lint": "eslint . && prettier --check .",
"lint:fix": "eslint --fix . && prettier --write .",
"typecheck": "tsc",
"test": "vitest run",
"test:bundles": "pnpm build:bundles && node ./test/svgo.cjs && node ./test/browser.js",
"test:regression": "node ./test/regression/extract.js && node ./test/regression/optimize.js && node ./test/regression/compare.js --no-diff",
"qa": "pnpm lint && pnpm typecheck && pnpm test && pnpm test:bundles && pnpm test:regression",
"clean": "pnpm clean:build && pnpm clean:types",
"clean:build": "rimraf dist",
"clean:types": "rimraf types",
"spellcheck": "cspell -u ."
}
}