react-photo-editor
Version:
React component and hook for image editing, offering controls for brightness, contrast, saturation, and grayscale, along with features to rotate, flip, pan, draw, and zoom photos.
87 lines (86 loc) • 2.41 kB
JSON
{
"name": "react-photo-editor",
"description": "React component and hook for image editing, offering controls for brightness, contrast, saturation, and grayscale, along with features to rotate, flip, pan, draw, and zoom photos.",
"private": false,
"version": "3.0.0",
"author": "Usama Chouhan (musama619)",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/musama619/react-photo-editor.git"
},
"homepage": "https://github.com/musama619/react-photo-editor#readme",
"keywords": [
"photo editor",
"image editor",
"canvas",
"editor",
"image",
"react photo editor",
"react image editor",
"image editing",
"image manipulation",
"photo manipulation",
"react-photo-editor",
"react-image-editor",
"react component",
"react",
"reactjs"
],
"module": "./dist/react-photo-editor.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/react-photo-editor.es.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:css": "tailwindcss -o dist/index.css --minify",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"peerDependencies": {
"react": "^18.2.0 || ^19.0",
"react-dom": "^18.2.0 || ^19.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.0.1",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.14.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.1.1",
"autoprefixer": "^10.4.14",
"eslint": "^8.47.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.1",
"jsdom": "^24.1.0",
"path": "^0.12.7",
"postcss": "^8.4.28",
"prettier": "^3.3.2",
"tailwindcss": "^3.4.4",
"typescript": "^5.8.2",
"vite": "^6.2.4",
"vite-plugin-dts": "^4.5.3",
"vite-plugin-lib-inject-css": "^2.2.1",
"vitest": "^3.1.1"
}
}