UNPKG

react-rough-fiber

Version:

A React renderer for rendering hand-drawn SVGs.

84 lines 2.25 kB
{ "name": "react-rough-fiber", "version": "0.0.8", "description": "A React renderer for rendering hand-drawn SVGs.", "author": "Bowen <zwxdyx@foxmail.com>(https://github.com/Bowen7)", "license": "MIT", "funding": [ { "type": "Github Sponsor", "url": "https://github.com/sponsors/Bowen7" }, { "type": "ko-fi", "url": "https://ko-fi.com/bowen7" } ], "homepage": "https://react-rough-fiber.amind.app/", "bugs": { "url": "https://github.com/Bowen7/react-rough-fiber/issues" }, "keywords": [ "react", "react-renderer", "svg", "svg-icons", "hand-drawn", "roughjs", "hand-drawn-graphs" ], "main": "./dist/index.js", "scripts": { "lint": "eslint *.ts*", "test": "vitest", "build": "rm -rf dist && tsup", "pre-publish": "node scripts/pre-publish.mjs && npm run build", "publish-next": "node scripts/pre-next-publish.mjs && npm run build && npm publish --tag next --access public && node scripts/post-next-publish.mjs" }, "peerDependencies": { "react": ">=17.0.0", "react-dom": ">=17.0.0", "react-reconciler": ">=0.26.2" }, "dependencies": { "its-fine": "^1.2.5" }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", "@napi-rs/simple-git": "^0.1.8", "@testing-library/react": "^16.1.0", "@types/react": "^18.0.17", "@types/react-dom": "^18.0.6", "@types/react-reconciler": "^0.28.9", "jsdom": "^25.0.1", "path-data-parser": "^0.1.0", "points-on-curve": "^1.0.0", "points-on-path": "^0.2.1", "react": "^18.3.1", "react-dom": "^18.3.1", "react-reconciler": "^0.29.0", "regenerator-runtime": "^0.13.11", "roughjs": "4.5.2", "tsconfig": "workspace:*", "tsup": "^8.4.0", "typescript": "^4.5.2", "vitest": "^2.1.8" }, "types": "./dist/index.d.ts", "module": "./dist/index.mjs", "exports": { ".": { "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "default": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" } } } }