{
  "name": "react-inlinesvg",
  "version": "4.1.3",
  "description": "An SVG loader for React",
  "author": "Gil Barbara <gilbarbara@gmail.com>",
  "contributors": [
    {
      "name": "Matthew Dapena-Tretter",
      "email": "m@tthewwithanm.com"
    }
  ],
  "keywords": [
    "react",
    "svg"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git://github.com/gilbarbara/react-inlinesvg.git"
  },
  "bugs": {
    "url": "https://github.com/gilbarbara/react-inlinesvg/issues"
  },
  "homepage": "https://github.com/gilbarbara/react-inlinesvg#readme",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./provider": {
      "import": "./dist/provider.mjs",
      "default": "./dist/provider.js"
    }
  },
  "files": [
    "dist",
    "src"
  ],
  "typesVersions": {
    "*": {
      "provider": [
        "dist/provider.d.ts"
      ]
    }
  },
  "types": "dist/index.d.ts",
  "sideEffects": false,
  "peerDependencies": {
    "react": "16.8 - 18"
  },
  "dependencies": {
    "react-from-dom": "^0.7.2"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.15.0",
    "@gilbarbara/eslint-config": "^0.7.4",
    "@gilbarbara/prettier-config": "^1.0.0",
    "@gilbarbara/tsconfig": "^0.2.3",
    "@size-limit/preset-small-lib": "^11.0.2",
    "@testing-library/jest-dom": "^6.4.2",
    "@testing-library/react": "^14.2.1",
    "@types/node": "^20.11.21",
    "@types/react": "^18.2.60",
    "@types/react-dom": "^18.2.19",
    "@vitejs/plugin-react": "^4.2.1",
    "@vitest/coverage-v8": "^1.3.1",
    "browser-cache-mock": "^0.1.7",
    "del-cli": "^5.1.0",
    "fix-tsup-cjs": "^1.2.0",
    "http-server": "^14.1.1",
    "husky": "^9.0.11",
    "jest-extended": "^4.0.2",
    "jsdom": "^24.0.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "repo-tools": "^0.3.1",
    "size-limit": "^11.0.2",
    "start-server-and-test": "^2.0.3",
    "ts-node": "^10.9.2",
    "tsup": "^8.0.2",
    "typescript": "^5.3.3",
    "vitest": "^1.3.1",
    "vitest-fetch-mock": "^0.2.2"
  },
  "scripts": {
    "build": "pnpm run clean && tsup && fix-tsup-cjs",
    "watch": "tsup --watch",
    "clean": "del dist/*",
    "lint": "eslint --fix src test",
    "start": "http-server test/__fixtures__ -p 1337 --cors",
    "test": "start-server-and-test start http://127.0.0.1:1337 test:coverage",
    "test:coverage": "vitest run --coverage",
    "test:watch": "vitest watch",
    "typecheck": "tsc -p test/tsconfig.json",
    "typevalidation": "attw -P",
    "size": "size-limit",
    "validate": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run size && npm run typevalidation",
    "format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
    "prepublishOnly": "pnpm run validate",
    "prepare": "husky"
  },
  "tsup": {
    "banner": {
      "js": "\"use client\";"
    },
    "dts": true,
    "entry": [
      "src/index.tsx",
      "src/provider.tsx"
    ],
    "format": [
      "cjs",
      "esm"
    ],
    "sourcemap": true,
    "splitting": false
  },
  "eslintConfig": {
    "extends": [
      "@gilbarbara/eslint-config"
    ],
    "overrides": [
      {
        "files": [
          "test/**/*.ts?(x)"
        ],
        "rules": {
          "@typescript-eslint/ban-ts-comment": "off",
          "no-console": "off",
          "testing-library/no-container": "off",
          "testing-library/no-node-access": "off"
        }
      }
    ]
  },
  "prettier": "@gilbarbara/prettier-config",
  "size-limit": [
    {
      "name": "commonjs",
      "path": "./dist/index.js",
      "limit": "10 KB"
    },
    {
      "name": "esm",
      "path": "./dist/index.mjs",
      "limit": "10 KB"
    }
  ]
}
