esbuild-svgr-plugin
Version:
An esbuild plugin that transforms SVGs into React components using SVGR.
58 lines (57 loc) • 1.6 kB
JSON
{
"name": "esbuild-svgr-plugin",
"version": "0.2.0",
"description": "An esbuild plugin that transforms SVGs into React components using SVGR.",
"author": "Pedro Alves",
"license": "MIT",
"repository": "https://github.com/pedroalves0/esbuild-svgr-plugin",
"main": "dist/index.js",
"files": [
"src/",
"dist/"
],
"types": "./dist/index.d.ts",
"scripts": {
"prebuild": "rimraf dist",
"build": "node build/index.mjs",
"build:types": "tsc --project tsconfig.build.json",
"postbuild": "npm run build:types",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "husky install"
},
"keywords": [
"esbuild",
"plugin",
"svg",
"svgr",
"react"
],
"engines": {
"node": ">=10"
},
"devDependencies": {
"@svgr/core": "^6.2.1",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/svgo": "^2.6.3",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"esbuild": "^0.14.30",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.4",
"typescript": "4.6.3"
},
"peerDependencies": {
"esbuild": "^0.14.0"
}
}