UNPKG

@starefossen/sanity-plugin-inline-svg-input

Version:
93 lines (92 loc) 2.58 kB
{ "name": "@starefossen/sanity-plugin-inline-svg-input", "version": "1.3.5", "description": "Sanity plugin to upload and preview inline SVGs", "keywords": [ "sanity", "sanity-plugin", "svg", "inline-svg", "upload", "custom-input", "svg-field", "svg-input", "custom" ], "homepage": "https://www.sanity.io/plugins/sanity-plugin-inline-svg-input", "bugs": { "url": "https://github.com/starefossen/sanity-plugin-inline-svg-input/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/starefossen/sanity-plugin-inline-svg-input.git" }, "license": "MIT", "author": "Eugene Boruhov <eugene@focusreactive.com>", "exports": { ".": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs", "source": "./src/index.ts", "default": "./dist/index.esm.js" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.esm.js", "types": "./dist/index.d.cts", "files": [ "dist", "sanity.json", "v2-incompatible.js" ], "scripts": { "build": "pkg-utils build --strict --check --clean", "clean": "rimraf dist", "format": "prettier --write --cache --ignore-unknown .", "link-watch": "plugin-kit link-watch", "lint": "eslint .", "prepublishOnly": "npm run build", "watch": "pkg-utils watch --strict" }, "dependencies": { "@sanity/incompatible-plugin": "^1.0.5", "isomorphic-dompurify": "^2.26.0" }, "devDependencies": { "@sanity/pkg-utils": "^7.9.11", "@sanity/plugin-kit": "^4.0.19", "@sanity/ui": "^3.0.1", "@types/react": "^19.1.8", "@types/styled-components": "^5.1.34", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "eslint-config-sanity": "^7.1.4", "eslint-plugin-prettier": "^5.5.3", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "npm-run-all": "^4.1.5", "prettier": "^3.6.2", "prettier-plugin-packagejson": "^2.5.19", "react": "^19.1.0", "react-dom": "^19.1.0", "react-is": "^19.1.0", "rimraf": "^6.0.1", "sanity": "^4.1.1", "styled-components": "^6.1.19", "typescript": "^5.8.3" }, "peerDependencies": { "@sanity/ui": "^1 || ^2", "react": "^18 || >=19.0.0-0", "react-dom": "^18 || >=19.0.0-0", "sanity": "^3 || ^4", "styled-components": "^5 || ^6" }, "engines": { "node": ">=18" }, "type": "module" }