UNPKG

@honkhonk/vite-plugin-svgr

Version:

Vite plugin to transform SVGs into React components using svgr under the hood.

55 lines (54 loc) 1.44 kB
{ "name": "@honkhonk/vite-plugin-svgr", "version": "1.1.0", "description": "Vite plugin to transform SVGs into React components using svgr under the hood.", "author": "Luc Heinrich", "homepage": "https://github.com/lucsky/vite-plugin-svgr#readme", "repository": "https://github.com/lucsky/vite-plugin-svgr", "bugs": "https://github.com/lucsky/vite-plugin-svgr/issues", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/index.js", "dist/index.d.ts", "client.d.ts" ], "keywords": [ "vite", "svgr", "plugin" ], "prettier": { "tabWidth": 4, "printWidth": 120, "singleQuote": true, "trailingComma": "none", "bracketSpacing": true, "jsxBracketSameLine": false, "arrowParens": "always", "proseWrap": "preserve" }, "dependencies": { "@svgr/core": "^5.5.0" }, "devDependencies": { "@types/node": "^16.6.2", "@types/react": "^17.0.19", "typescript": "^4.3.5", "vite": "^2.5.0" }, "peerDependencies": { "vite": "^2.5.0" }, "scripts": { "dev": "tsc --watch", "build": "tsc", "clean": "rm -rf dist", "prebuild": "yarn run clean", "prepublish": "yarn run build" }, "publishConfig": { "access": "public" } }