mirror of
https://github.com/svg/svgo.git
synced 2025-04-19 10:22:15 +03:00
144 lines
3.5 KiB
JSON
144 lines
3.5 KiB
JSON
{
|
|
"packageManager": "yarn@3.8.7",
|
|
"name": "svgo",
|
|
"version": "4.0.0-rc.1",
|
|
"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": "trysound@yandex.ru",
|
|
"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"
|
|
},
|
|
"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": ">=16.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",
|
|
"qa": "yarn typecheck && yarn lint && yarn test && yarn test:bundles && yarn test:regression",
|
|
"prepublishOnly": "rimraf dist && yarn build"
|
|
},
|
|
"jest": {
|
|
"coveragePathIgnorePatterns": [
|
|
"fixtures"
|
|
],
|
|
"coverageReporters": [
|
|
"html",
|
|
"lcov",
|
|
"text"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"commander": "^11.1.0",
|
|
"css-select": "^5.1.0",
|
|
"css-tree": "^3.0.1",
|
|
"css-what": "^6.1.0",
|
|
"csso": "^5.0.5",
|
|
"picocolors": "^1.1.1",
|
|
"sax": "^1.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.3.0",
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@types/css-tree": "^2.3.7",
|
|
"@types/csso": "^5.0.4",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^20.12.11",
|
|
"@types/sax": "^1.2.7",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^9.3.0",
|
|
"globals": "^14.0.0",
|
|
"jest": "^29.7.0",
|
|
"pixelmatch": "^7.1.0",
|
|
"playwright": "^1.51.1",
|
|
"pngjs": "^7.0.0",
|
|
"prettier": "^3.2.5",
|
|
"rimraf": "^5.0.7",
|
|
"rollup": "^4.17.2",
|
|
"tar-stream": "^3.1.7",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"resolutions": {
|
|
"sax@^1.4.1": "patch:sax@npm%3A1.4.1#./.yarn/patches/sax-npm-1.4.1-503b1923cb.patch"
|
|
}
|
|
}
|