[6a3a178] | 1 | {
|
---|
| 2 | "name": "svgo",
|
---|
| 3 | "version": "2.7.0",
|
---|
| 4 | "description": "Nodejs-based tool for optimizing SVG vector graphics files",
|
---|
| 5 | "keywords": [
|
---|
| 6 | "svgo",
|
---|
| 7 | "svg",
|
---|
| 8 | "optimize",
|
---|
| 9 | "minify"
|
---|
| 10 | ],
|
---|
| 11 | "homepage": "https://github.com/svg/svgo",
|
---|
| 12 | "bugs": {
|
---|
| 13 | "url": "https://github.com/svg/svgo/issues"
|
---|
| 14 | },
|
---|
| 15 | "author": {
|
---|
| 16 | "name": "Kir Belevich",
|
---|
| 17 | "email": "kir@belevi.ch",
|
---|
| 18 | "url": "https://github.com/deepsweet"
|
---|
| 19 | },
|
---|
| 20 | "contributors": [
|
---|
| 21 | {
|
---|
| 22 | "name": "Sergey Belov",
|
---|
| 23 | "email": "peimei@ya.ru",
|
---|
| 24 | "url": "https://github.com/arikon"
|
---|
| 25 | },
|
---|
| 26 | {
|
---|
| 27 | "name": "Lev Solntsev",
|
---|
| 28 | "email": "lev.sun@ya.ru",
|
---|
| 29 | "url": "https://github.com/GreLI"
|
---|
| 30 | },
|
---|
| 31 | {
|
---|
| 32 | "name": "Bogdan Chadkin",
|
---|
| 33 | "email": "trysound@yandex.ru",
|
---|
| 34 | "url": "https://github.com/TrySound"
|
---|
| 35 | }
|
---|
| 36 | ],
|
---|
| 37 | "repository": {
|
---|
| 38 | "type": "git",
|
---|
| 39 | "url": "git://github.com/svg/svgo.git"
|
---|
| 40 | },
|
---|
| 41 | "main": "./lib/svgo-node.js",
|
---|
| 42 | "bin": {
|
---|
| 43 | "svgo": "./bin/svgo"
|
---|
| 44 | },
|
---|
| 45 | "files": [
|
---|
| 46 | "bin",
|
---|
| 47 | "lib",
|
---|
| 48 | "plugins",
|
---|
| 49 | "dist",
|
---|
| 50 | "!**/*.test.js"
|
---|
| 51 | ],
|
---|
| 52 | "scripts": {
|
---|
| 53 | "test": "NODE_OPTIONS=--experimental-vm-modules jest --maxWorkers=3 --coverage",
|
---|
| 54 | "lint": "eslint --ignore-path .gitignore . && prettier --check \"**/*.js\" --ignore-path .gitignore",
|
---|
| 55 | "fix": "eslint --ignore-path .gitignore --fix . && prettier --write \"**/*.js\" --ignore-path .gitignore",
|
---|
| 56 | "typecheck": "tsc",
|
---|
| 57 | "test-browser": "rollup -c && node ./test/browser.js",
|
---|
| 58 | "test-regression": "node ./test/regression-extract.js && NO_DIFF=1 node ./test/regression.js",
|
---|
| 59 | "prepublishOnly": "rm -rf dist && rollup -c"
|
---|
| 60 | },
|
---|
| 61 | "prettier": {
|
---|
| 62 | "singleQuote": true
|
---|
| 63 | },
|
---|
| 64 | "eslintConfig": {
|
---|
| 65 | "parserOptions": {
|
---|
| 66 | "ecmaVersion": "2021"
|
---|
| 67 | },
|
---|
| 68 | "env": {
|
---|
| 69 | "node": true,
|
---|
| 70 | "es2021": true
|
---|
| 71 | },
|
---|
| 72 | "extends": [
|
---|
| 73 | "eslint:recommended"
|
---|
| 74 | ],
|
---|
| 75 | "overrides": [
|
---|
| 76 | {
|
---|
| 77 | "files": [
|
---|
| 78 | "rollup.config.js"
|
---|
| 79 | ],
|
---|
| 80 | "parserOptions": {
|
---|
| 81 | "sourceType": "module"
|
---|
| 82 | }
|
---|
| 83 | },
|
---|
| 84 | {
|
---|
| 85 | "files": [
|
---|
| 86 | "**/*.test.js"
|
---|
| 87 | ],
|
---|
| 88 | "env": {
|
---|
| 89 | "jest": true
|
---|
| 90 | }
|
---|
| 91 | }
|
---|
| 92 | ]
|
---|
| 93 | },
|
---|
| 94 | "jest": {
|
---|
| 95 | "coveragePathIgnorePatterns": [
|
---|
| 96 | "fixtures"
|
---|
| 97 | ]
|
---|
| 98 | },
|
---|
| 99 | "dependencies": {
|
---|
| 100 | "@trysound/sax": "0.2.0",
|
---|
| 101 | "commander": "^7.2.0",
|
---|
| 102 | "css-select": "^4.1.3",
|
---|
| 103 | "css-tree": "^1.1.3",
|
---|
| 104 | "csso": "^4.2.0",
|
---|
| 105 | "nanocolors": "^0.1.12",
|
---|
| 106 | "stable": "^0.1.8"
|
---|
| 107 | },
|
---|
| 108 | "devDependencies": {
|
---|
| 109 | "@rollup/plugin-commonjs": "^20.0.0",
|
---|
| 110 | "@rollup/plugin-json": "^4.1.0",
|
---|
| 111 | "@rollup/plugin-node-resolve": "^13.0.4",
|
---|
| 112 | "@types/css-tree": "^1.0.6",
|
---|
| 113 | "@types/csso": "^4.2.0",
|
---|
| 114 | "@types/jest": "^27.0.1",
|
---|
| 115 | "del": "^6.0.0",
|
---|
| 116 | "eslint": "^7.32.0",
|
---|
| 117 | "jest": "^27.2.1",
|
---|
| 118 | "mock-stdin": "^1.0.0",
|
---|
| 119 | "node-fetch": "^2.6.2",
|
---|
| 120 | "pixelmatch": "^5.2.1",
|
---|
| 121 | "playwright": "^1.14.1",
|
---|
| 122 | "pngjs": "^6.0.0",
|
---|
| 123 | "prettier": "^2.4.0",
|
---|
| 124 | "rollup": "^2.56.3",
|
---|
| 125 | "rollup-plugin-terser": "^7.0.2",
|
---|
| 126 | "strip-ansi": "^6.0.0",
|
---|
| 127 | "tar-stream": "^2.2.0",
|
---|
| 128 | "typescript": "^4.4.3"
|
---|
| 129 | },
|
---|
| 130 | "engines": {
|
---|
| 131 | "node": ">=10.13.0"
|
---|
| 132 | },
|
---|
| 133 | "license": "MIT"
|
---|
| 134 | }
|
---|