UNPKG

react-sketch-canvas

Version:

react-sketch-canvas - Freehand vector drawing tool for React using SVG as canvas

83 lines 2.28 kB
{ "name": "react-sketch-canvas", "version": "8.0.0", "description": "react-sketch-canvas - Freehand vector drawing tool for React using SVG as canvas", "author": "Vinoth Pandian", "homepage": "https://vinoth.info/react-sketch-canvas", "license": "MIT", "repository": "https://github.com/vinothpandian/react-sketch-canvas.git", "keywords": [ "react-component", "sketch", "canvas", "drawing", "freehand", "vector", "svg-canvas", "react-sketch" ], "main": "dist/index.js", "typings": "dist/index.d.ts", "module": "dist/index.mjs", "files": [ "dist", "README.md", "LICENSE", "CHANGELOG.md" ], "engines": { "node": ">=22.13.0" }, "size-limit": [ { "path": "dist/index.js", "limit": "10 KB" }, { "path": "dist/index.mjs", "limit": "10 KB" } ], "devDependencies": { "@biomejs/biome": "^2.4.15", "@playwright/experimental-ct-react": "^1.60.0", "@size-limit/preset-small-lib": "^12.1.0", "@testing-library/react": "^16.3.2", "@types/node": "^25.8.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "happy-dom": "^20.9.0", "playwright": "^1.60.0", "react": "^19.2.6", "react-dom": "^19.2.6", "rimraf": "^6.1.3", "size-limit": "^12.1.0", "tslib": "^2.8.1", "tsup": "^8.5.1", "typescript": "^6.0.3", "vite": "^8.0.13", "vitest": "^4.1.6" }, "peerDependencies": { "react": ">=18.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "clean": "rimraf dist", "build": "pnpm clean && tsup src/index.tsx --env.NODE_ENV production", "ci:build": "pnpm clean && tsup src/index.tsx --env.NODE_ENV production && pnpm size", "dev": "tsup src/index.tsx --env.NODE_ENV development", "lint": "biome check .", "format": "biome format --write .", "test:ct": "playwright test -c playwright-ct.config.ts", "test:ct:ui": "playwright test -c playwright-ct.config.ts --ui", "test:e2e": "playwright test -c playwright-e2e.config.ts", "test:unit": "vitest run", "test:watch": "vitest", "test": "pnpm test:unit && pnpm test:ct && pnpm test:e2e", "size": "size-limit" } }