UNPKG

@sumcode/svgify

Version:

A lightweight React component designed to dynamically render and style SVG icons.

76 lines (75 loc) 2.03 kB
{ "name": "@sumcode/svgify", "private": false, "version": "4.0.1", "type": "module", "description": "A lightweight React component designed to dynamically render and style SVG icons.", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/types/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "types": "./dist/types/index.d.ts" }, "./type": "./dist/types/types.d.ts", "./SvgifyContext": { "import": "./dist/SvgifyContext.mjs", "require": "./dist/SvgifyContext.cjs", "types": "./dist/types/SvgifyContext.d.ts" } }, "files": [ "dist", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "scripts": { "dev": "vite", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "keywords": [ "svgify", "react", "svg", "typescript", "svg manipulation" ], "dependencies": { "axios": "^1.7.5", "html-react-parser": "^5.2.10", "react": "19.2.0", "react-dom": "19.2.0" }, "devDependencies": { "@eslint/js": "^9.9.0", "@types/node": "^22.5.4", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@vitejs/plugin-react": "^4.3.1", "eslint": "^9.9.0", "eslint-plugin-react-hooks": "^5.1.0-rc.0", "eslint-plugin-react-refresh": "^0.4.9", "globals": "^15.9.0", "typescript": "^5.5.3", "typescript-eslint": "^8.0.1", "vite": "^5.4.1", "vite-plugin-dts": "^4.1.1" }, "author": "Mohammed Atef <mohammed.atef.ewais@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/M7mmedATeF/svgify.git" }, "bugs": { "url": "https://github.com/M7mmedATeF/svgify/issues" }, "homepage": "https://github.com/M7mmedATeF/svgify#readme" }