vite-vanjs-svg
Version:
Vite plugin to transform SVGs into VanJS components
60 lines • 1.5 kB
JSON
{
"name": "vite-vanjs-svg",
"version": "0.0.14",
"description": "Vite plugin to transform SVGs into VanJS components",
"author": "thednp",
"license": "MIT",
"homepage": "https://github.com/thednp/vite-vanjs-svg#readme",
"keywords": [
"vite",
"plugin",
"svg",
"vanjs"
],
"repository": {
"type": "git",
"url": "https://github.com/thednp/vite-vanjs-svg"
},
"bugs": {
"url": "https://github.com/thednp/vite-vanjs-svg/issues"
},
"main": "src/index.mjs",
"module": "src/index.mjs",
"types": "src/types.d.ts",
"exports": {
".": {
"import": "./src/index.mjs",
"types": "./src/types.d.ts"
}
},
"files": [
"src",
"package.json",
"README.md",
"LICENSE"
],
"dependencies": {
"@rollup/pluginutils": "^5.3.0",
"@thednp/domparser": "^0.1.9",
"vanjs-core": "^1.6.0"
},
"devDependencies": {
"@types/node": "^25.5.0",
"@vitest/browser": "^4.1.2",
"@vitest/coverage-istanbul": "^4.1.2",
"@vitest/ui": "^4.1.2",
"typescript": "^6.0.2",
"vite": "^8.0.3",
"vitest": "^4.1.2"
},
"scripts": {
"dev": "vite serve demo --config demo/vite.config.ts",
"test": "vitest --config vitest.config.ts",
"test-ui": "vitest --config vitest.config.ts --ui=true",
"format": "deno fmt src/*.mjs src/*.ts demo/*.ts",
"lint": "pnpm lint:ts",
"lint:ts": "deno lint src/index.mjs",
"fix:ts": "deno lint src/index.mjs --fix",
"check:ts": "tsc -noEmit"
}
}