UNPKG

@poppanator/sveltekit-svg

Version:

Import SVG files as Svelte components

106 lines (105 loc) 2.73 kB
{ "name": "@poppanator/sveltekit-svg", "version": "7.0.0", "description": "Import SVG files as Svelte components", "private": false, "type": "module", "keywords": [ "svelte-plugin", "svelte", "sveltekit-plugin", "sveltekit", "svg", "svgo", "vite-plugin", "vite" ], "files": [ "dist" ], "scripts": { "dev": "tsc -w", "build": "tsc && cp svg.d.ts dist/", "pre-test": "npx playwright install && npm link && cd test-app && npm run pre-test", "test": "cd test-app && npm run test", "test:all": "npm ci && npm run build && npm run pre-test && npm run test", "clean": "rimraf dist && rimraf node_modules", "clean:test-app": "rimraf test-app/node_modules && rimraf test-app/build && rimraf test-app/test-results", "clean:all": "npm run clean:test-app && npm run clean", "bootstrap": "npm ci && cd test-app && npm ci" }, "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", "author": { "name": "Pontus Östlund", "url": "https://github.com/poppa" }, "contributors": [ { "name": "Jani", "url": "https://github.com/ljani" }, { "name": "James Camilleri", "url": "https://github.com/james-camilleri" }, { "name": "Roman Schmid", "url": "https://github.com/bummzack" }, { "name": "Arad Alvand", "url": "https://github.com/aradalvand" }, { "name": "Tobias Oetiker", "url": "https://github.com/oetiker" }, { "name": "Joakim Nordling", "url": "https://github.com/joakimnordling" }, { "name": "Paolo Ricciuti", "url": "https://github.com/paoloricciuti" }, { "name": "Craig Jennings", "url": "https://github.com/craig-jennings" } ], "repository": { "type": "git", "url": "git+https://github.com/poppa/sveltekit-svg" }, "bugs": { "url": "https://github.com/poppa/sveltekit-svg/issues" }, "homepage": "https://github.com/poppa/sveltekit-svg#readme", "devDependencies": { "@playwright/test": "1.59.1", "@types/node": "22.19.17", "@typescript-eslint/eslint-plugin": "8.59.0", "@typescript-eslint/parser": "8.59.0", "cross-env": "^10.1.0", "eslint": "10.2.1", "eslint-config-prettier": "10.1.8", "eslint-plugin-prettier": "5.5.5", "eslint-plugin-svelte": "3.17.1", "svelte": "5.55.4", "svelte-check": "4.4.6", "svelte-preprocess": "^6.0.3", "tslib": "2.8.1", "typescript": "5.9.3", "vite": "8.0.10" }, "peerDependencies": { "svelte": ">=5.x", "vite": ">= 6 || >= 7 || >= 8" }, "dependencies": { "@rollup/pluginutils": "5.3.0", "svgo": "^4.0.1" } }