@svelte-put/preprocess-inline-svg
Version:
minimal svg inliner from local resources at build time
74 lines • 1.8 kB
JSON
{
"name": "@svelte-put/preprocess-inline-svg",
"version": "2.1.4",
"description": "minimal svg inliner from local resources at build time",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
"./vite": "./dist/vite/index.js",
".": "./dist/index.js"
},
"typesVersions": {
"*": {
"vite": [
"./dist/vite/index.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"keywords": [
"svelte",
"preprocess",
"inline",
"svg",
"local",
"static",
"build"
],
"author": {
"email": "vnphanquang@gmail.com",
"name": "Quang Phan",
"url": "https://github.com/vnphanquang"
},
"license": "MIT",
"homepage": "https://github.com/vnphanquang/svelte-put/tree/main/packages/preprocess-inline-svg",
"bugs": {
"url": "https://github.com/vnphanquang/svelte-put/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vnphanquang/svelte-put.git",
"directory": "packages/preprocess-inline-svg"
},
"devDependencies": {
"@types/estree": "^1.0.5",
"@types/lodash.debounce": "^4.0.9",
"@types/svg-parser": "^2.0.6",
"tsup": "^8.0.2",
"vite": "^5.2.8",
"@svelte-put/preprocess-helpers": "1.0.0"
},
"peerDependencies": {
"svelte": "^3.55.0 || ^4.0.0"
},
"dependencies": {
"hast-util-to-html": "^9.0.1",
"lodash.debounce": "^4.0.8",
"magic-string": "^0.30.10",
"svelte-parse-markup": "^0.1.5",
"svg-parser": "^2.0.4"
},
"scripts": {
"lint": "eslint . --ignore-path=\"../../.eslintignore\"",
"format": "prettier --ignore-path ../../.prettierignore --write .",
"build": "tsup"
}
}