UNPKG

nuxt-svg-icons

Version:

A module for Nuxt 3 that allows you to use your own SVG icons as a component, url or raw text.

80 lines 2.07 kB
{ "name": "nuxt-svg-icons", "version": "3.0.0", "description": "A module for Nuxt 3 that allows you to use your own SVG icons as a component, url or raw text.", "author": { "name": "elenh", "email": "yisiwings@163.com" }, "license": "MIT", "type": "module", "main": "./dist/module.mjs", "typesVersions": { "*": { ".": [ "./dist/types.d.mts" ] } }, "exports": { ".": { "types": "./dist/types.d.mts", "default": "./dist/module.mjs" }, "./client": "./client.d.ts", "./*": [ "./*", "./*.d.ts" ] }, "files": [ "dist", "client.d.ts" ], "keywords": [ "nuxt3", "nuxt4", "nuxt-module", "svg", "svg-icon", "svg-component", "vite", "nuxt-icons", "nuxt-svg-icons" ], "homepage": "https://github.com/yisibell/nuxt-svg-icons", "bugs": { "url": "https://github.com/yisibell/nuxt-svg-icons/issues" }, "scripts": { "prepack": "nuxt-module-build build", "dev": "nuxi dev playground", "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", "release": "npm run prepack && changelogen --release && npm publish && git push --follow-tags", "release:lint:test": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags", "lint": "eslint .", "test": "vitest run", "test:watch": "vitest watch" }, "dependencies": { "@nuxt/kit": "^4.0.1", "vite-plugin-svg4vue": "^4.5.0" }, "devDependencies": { "@nuxt/devtools": "2.6.2", "@nuxt/eslint-config": "^1.6.0", "@nuxt/module-builder": "1.0.1", "@nuxt/schema": "^4.0.1", "@nuxt/test-utils": "^3.19.2", "changelogen": "~0.6.2", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.31.0", "eslint-plugin-format": "^1.0.1", "nuxt": "^4.0.1", "prettier": "^3.6.2", "typescript": "~5.8.3", "vitest": "^3.2.4", "vue-tsc": "^3.0.3" } }