react-sprite
Version:
React Component to Display SVG from Sprite with Polyfill for IE11.
62 lines (61 loc) • 1.22 kB
JSON
{
"name": "react-sprite",
"description": "React Component to Display SVG from Sprite with Polyfill for IE11.",
"version": "2.1.0",
"repository": "github:tobua/react-sprite",
"homepage": "https://tobua.github.io/react-sprite",
"license": "MIT",
"author": "Matthias Giger",
"scripts": {
"build": "padua build",
"start": "padua watch"
},
"padua": {
"esbuild": {
"target": "es6"
}
},
"dependencies": {
"npm": "^9.7.2",
"xhr": "^2.6.0"
},
"peerDependencies": {
"react": "^17.0.1"
},
"sideEffects": false,
"main": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"source": "./index.tsx",
"types": "./dist/index.d.ts",
"files": [
"dist",
"index.tsx"
],
"keywords": [
"react",
"svg",
"use",
"sprite",
"polyfill",
"ie11"
],
"devDependencies": {
"@types/react": "^18.2.14",
"padua": "^2.0.0"
},
"prettier": "padua/configuration/.prettierrc.json",
"eslintConfig": {
"extends": "./node_modules/padua/configuration/eslint.cjs"
},
"publishConfig": {
"provenance": true
},
"engines": {
"node": ">= 16"
}
}