nuxt-svgo
Version:
Nuxt module to load optimized SVG files as Vue components
110 lines (109 loc) • 2.71 kB
JSON
{
"name": "nuxt-svgo",
"version": "5.3.0",
"description": "Nuxt module to load optimized SVG files as Vue components",
"keywords": [
"nuxt",
"nuxt-module",
"nuxtjs",
"svg",
"svgo",
"vue"
],
"repository": {
"type": "git",
"url": "https://github.com/cpsoinos/nuxt-svgo.git"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/types.d.mts",
"import": "./dist/module.mjs"
}
},
"main": "./dist/module.mjs",
"typesVersions": {
"*": {
".": [
"./dist/types.d.mts"
]
}
},
"files": [
"dist"
],
"scripts": {
"ci:format": "prettier --write --check --no-error-on-unmatched-pattern \"**/*.{js,jsx,ts,tsx,vue,md,mdx,gql,graphql,json,yml,yaml}\"",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxi prepare playground",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,vue,md,mdx,gql,graphql,json,yml,yaml}\"",
"lint": "eslint --fix .",
"prepack": "nuxt-module-build build",
"prepare": "husky",
"semantic-release": "semantic-release",
"test": "cross-env NUXT_TELEMETRY_DISABLED=1 JITI_ESM_RESOLVE=1 pnpm nuxi prepare test/fixtures/basic && cross-env JITI_ESM_RESOLVE=1 vitest run --dir test",
"typecheck": "nuxi typecheck"
},
"lint-staged": {
"package.json": [
"npx sort-package-json"
],
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts,vue,html}": [
"eslint --fix",
"prettier --write"
],
"*.{css,postcss,json,html,md,yml}": [
"prettier --write"
]
},
"dependencies": {
"@nuxt/kit": "^4.4.4",
"mini-svg-data-uri": "^1.4.4",
"svgo": "^4.0.1"
},
"devDependencies": {
"@cpsoinos/prettier-config": "1.1.0",
"@nuxt/eslint-config": "^1.15.2",
"@nuxt/module-builder": "^1.0.2",
"@nuxt/test-utils": "^4.0.3",
"cross-env": "^10.0.0",
"eslint": "10.2.1",
"husky": "9.1.7",
"lint-staged": "^16.0.0",
"nuxt": "^4.4.4",
"pnpm": "10.33.2",
"prettier": "3.8.3",
"semantic-release": "^25.0.0",
"vitest": "^4.0.0",
"vue-tsc": "^3.2.7"
},
"peerDependencies": {
"svgo-loader": "^4.0.0",
"vue": ">=3.2.13",
"vue-loader": "^17.0.0",
"vue-svg-loader": "0.17.0-beta.2"
},
"peerDependenciesMeta": {
"svgo-loader": {
"optional": true
},
"vue-loader": {
"optional": true
},
"vue-svg-loader": {
"optional": true
}
},
"packageManager": "pnpm@10.33.2",
"publishConfig": {
"access": "public"
},
"pnpm": {
"overrides": {
"json5@<1.0.2": ">=1.0.2",
"nth-check@<2.0.1": ">=2.0.1"
}
}
}