{
  "name": "@resvg/resvg-js",
  "version": "2.6.2",
  "description": "A high-performance SVG renderer and toolkit, powered by Rust based resvg and napi-rs",
  "main": "index.js",
  "repository": "git@github.com:yisibl/resvg-js.git",
  "license": "MPL-2.0",
  "keywords": [
    "resvg",
    "svg",
    "node-resvg",
    "resvg-js",
    "resvg-node",
    "rust",
    "svg2png",
    "svg2img",
    "svg to png"
  ],
  "files": [
    "index.d.ts",
    "index.js",
    "js-binding.js",
    "js-binding.d.ts"
  ],
  "napi": {
    "name": "resvgjs",
    "triples": {
      "defaults": true,
      "additional": [
        "x86_64-unknown-linux-musl",
        "aarch64-unknown-linux-gnu",
        "i686-pc-windows-msvc",
        "armv7-unknown-linux-gnueabihf",
        "aarch64-apple-darwin",
        "aarch64-linux-android",
        "arm-linux-androideabi",
        "aarch64-unknown-linux-musl",
        "aarch64-pc-windows-msvc"
      ]
    }
  },
  "engines": {
    "node": ">= 10"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "scripts": {
    "artifacts": "napi artifacts",
    "bench": "node -r @swc-node/register benchmark/bench.ts",
    "bundle": "run-p 'bundle:*'",
    "bundle:js": "node bundle.js",
    "bundle:dts": "dts-bundle-generator --external-types -o wasm/index.d.ts wasm-binding.ts",
    "build": "napi build --platform --release --js js-binding.js --dts js-binding.d.ts",
    "build:debug": "napi build --platform --js js-binding.js --dts js-binding.d.ts",
    "build:wasm": "run-s build:wasm-web copy-wasm bundle",
    "build:wasm-web": "wasm-pack build --target web --out-name index --out-dir wasm/dist --release",
    "copy-wasm": "copyfiles -f wasm/dist/index_bg.wasm ./wasm",
    "playground": "copyfiles -f playground/index.html ./wasm",
    "format": "run-p format:md format:json format:yaml format:source format:rs",
    "format:md": "prettier --parser markdown --write './**/*.md'",
    "format:json": "prettier --parser json --write './**/*.json'",
    "format:svg": "prettier --parser html --write './**/*.svg'",
    "format:rs": "cargo fmt",
    "format:source": "prettier --config ./package.json --write './**/*.{js,ts,mjs}'",
    "format:yaml": "prettier --parser yaml --write './**/*.{yml,yaml}'",
    "lint": "eslint . -c ./.eslintrc.yml './**/*.{ts,tsx,js}'",
    "lint:fix": "eslint . -c ./.eslintrc.yml './**/*.{ts,tsx,js}' --fix",
    "prepublishOnly": "napi prepublish -t npm && esbuild js-binding.js --minify --allow-overwrite --outfile=js-binding.js",
    "test": "ava __test__/**/index*.*",
    "test:wasm": "ava __test__/**/wasm*.*",
    "version": "napi version"
  },
  "devDependencies": {
    "@napi-rs/cli": "^2.18.0",
    "@swc-node/register": "^1.9.0",
    "@swc/core": "^1.4.6",
    "@types/node": "^20.6.5",
    "@typescript-eslint/eslint-plugin": "^6.7.2",
    "@typescript-eslint/parser": "^6.7.2",
    "ava": "^5.3.1",
    "copyfiles": "^2.4.1",
    "dts-bundle-generator": "^9.0.0",
    "esbuild": "^0.20.1",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-sonarjs": "^0.24.0",
    "husky": "^8.0.0",
    "jimp-compact": "^0.16.1-2",
    "lint-staged": "^15.0.0",
    "node-fetch": "2.x",
    "npm-run-all2": "^6.1.2",
    "prettier": "^2.7.1",
    "typescript": "^5.4.2"
  },
  "lint-staged": {
    "*.@(js|ts|tsx)": [
      "prettier --write",
      "eslint -c .eslintrc.yml --fix"
    ],
    "*.@(yml|yaml)": [
      "prettier --parser yaml --write"
    ],
    "*.md": [
      "prettier --parser markdown --write"
    ],
    "*.json": [
      "prettier --parser json --write"
    ],
    "*.svg": [
      "prettier --parser html --write"
    ]
  },
  "ava": {
    "require": [
      "@swc-node/register"
    ],
    "extensions": [
      "ts"
    ],
    "timeout": "3m",
    "environmentVariables": {
      "TS_NODE_PROJECT": "./tsconfig.json"
    }
  },
  "prettier": {
    "printWidth": 120,
    "semi": false,
    "trailingComma": "all",
    "singleQuote": true,
    "arrowParens": "always",
    "parser": "typescript"
  },
  "packageManager": "yarn@3.8.1",
  "optionalDependencies": {
    "@resvg/resvg-js-win32-x64-msvc": "2.6.2",
    "@resvg/resvg-js-darwin-x64": "2.6.2",
    "@resvg/resvg-js-linux-x64-gnu": "2.6.2",
    "@resvg/resvg-js-linux-x64-musl": "2.6.2",
    "@resvg/resvg-js-linux-arm64-gnu": "2.6.2",
    "@resvg/resvg-js-win32-ia32-msvc": "2.6.2",
    "@resvg/resvg-js-linux-arm-gnueabihf": "2.6.2",
    "@resvg/resvg-js-darwin-arm64": "2.6.2",
    "@resvg/resvg-js-android-arm64": "2.6.2",
    "@resvg/resvg-js-android-arm-eabi": "2.6.2",
    "@resvg/resvg-js-linux-arm64-musl": "2.6.2",
    "@resvg/resvg-js-win32-arm64-msvc": "2.6.2"
  }
}