UNPKG

rough-native

Version:

Create graphics using HTML Canvas or SVG with a hand-drawn, sketchy, appearance. Features comprehensive React hooks, memory management, and React 18 concurrent rendering support.

78 lines (77 loc) 2.17 kB
{ "name": "rough-native", "version": "0.2.0", "description": "Create graphics using HTML Canvas or SVG with a hand-drawn, sketchy, appearance. Features comprehensive React hooks, memory management, and React 18 concurrent rendering support.", "main": "bundled/rough.cjs.js", "module": "bundled/rough.esm.js", "types": "bin/rough.d.ts", "react-native": "bundled/rough.rn.js", "scripts": { "build": "rm -rf bin && tsc && rollup -c", "lint": "eslint --ext ts src", "test": "bun run build && echo \"Visual tests are in visual-tests/ directory. Open HTML files in browser to test.\"", "prepublishOnly": "npm run build", "version": "npm run build && git add -A", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/acyment/rough-native.git" }, "keywords": [ "canvas", "svg", "graphics", "sketchy", "hand drawn", "hand-drawn", "react-native", "react-native-svg", "react-native-canvas", "react-hooks", "concurrent-rendering", "memory-management", "performance", "react-18" ], "author": "Preet Shihn <preetshihn@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/acyment/rough-native/issues" }, "homepage": "https://roughjs.com", "devDependencies": { "@rollup/plugin-node-resolve": "^13.0.6", "@rollup/plugin-typescript": "^8.3.0", "@types/react": "^19.1.10", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "eslint": "^7.32.0", "rollup": "^2.61.0", "rollup-plugin-terser": "^7.0.2", "tslib": "^2.3.1", "typescript": "^4.5.3" }, "dependencies": { "hachure-fill": "^0.5.2", "path-data-parser": "^0.1.0", "points-on-curve": "^0.2.0", "points-on-path": "^0.2.1" }, "peerDependencies": { "react": ">=16.8.0", "react-native": ">=0.60.0", "react-native-svg": ">=12.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-native": { "optional": true }, "react-native-svg": { "optional": true } } }