UNPKG

babel-plugin-svg-react

Version:

Transpile SVG documents into React component modules with only Babel.

70 lines (69 loc) 1.79 kB
{ "name": "babel-plugin-svg-react", "version": "1.0.0", "description": "Transpile SVG documents into React component modules with only Babel.", "author": "Morris Allison III <author@morris.xyz> (http://morris.xyz)", "homepage": "https://github.com/morrisallison/babel-plugin-svg-react#readme", "license": "MIT", "main": "lib/index.js", "bin": { "svg-react": "./bin/svg-react.js" }, "repository": { "type": "git", "url": "git+https://github.com/morrisallison/babel-plugin-svg-react.git" }, "scripts": { "lint": "eslint --ext .js,.mjs ./lib ./test", "test": "node --experimental-modules ./test/integration.mjs" }, "bugs": { "url": "https://github.com/morrisallison/babel-plugin-svg-react/issues" }, "keywords": [ "babel", "plugin", "react", "svg", "babel-plugin", "react", "react-svg-loader", "webpack", "webpack-loader" ], "files": [ "bin", "lib" ], "peerDependencies": { "@babel/plugin-syntax-jsx": "^7.2.0", "babel-plugin-react-svg": "^2.1.1-alpha.36" }, "devDependencies": { "@babel/core": "^7.4.0", "@babel/plugin-syntax-jsx": "^7.2.0", "babel-eslint": "9.x", "babel-plugin-react-svg": "^2.1.1-alpha.36", "eslint": "5.x", "eslint-config-prettier": "^4.1.0", "eslint-config-react-app": "^3.0.8", "eslint-plugin-flowtype": "2.x", "eslint-plugin-import": "2.x", "eslint-plugin-jsx-a11y": "6.x", "eslint-plugin-prettier": "^3.0.1", "eslint-plugin-react": "7.x", "prettier": "^1.16.4", "react": "^16.8.6", "tap": "^12.6.1" }, "dependencies": { "fs-extra": "^7.0.1", "yargs": "^13.2.2" }, "optionalDependencies": { "@types/react": "^16.8.10" }, "engines": { "node": ">=7.6.0" } }