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.

73 lines 2 kB
{ "name": "nuxt-svg-icons", "version": "2.4.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", "types": "./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", "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": "^3.16.2", "vite-plugin-svg4vue": "^4.5.0" }, "devDependencies": { "@nuxt/devtools": "2.4.0", "@nuxt/eslint-config": "^1.3.0", "@nuxt/module-builder": "1.0.1", "@nuxt/schema": "^3.16.2", "@nuxt/test-utils": "^3.17.2", "changelogen": "~0.6.1", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.24.0", "eslint-plugin-format": "^1.0.1", "nuxt": "^3.16.2", "prettier": "^3.5.3", "typescript": "~5.8.3", "vitest": "^3.1.1", "vue-tsc": "^2.2.8" } }