UNPKG

react-multi-cropper

Version:

A component for allowing multiple cropping regions on a single image, powered by [fabric](https://github.com/fabricjs/fabric.js).

88 lines (87 loc) 2.45 kB
{ "name": "react-multi-cropper", "version": "0.1.16-fabric", "main": "dist/index.js", "license": "MIT", "author": { "name": "Jayant Bhawal", "email": "bhawal.jayant@gmail.com" }, "repository": { "type": "git", "url": "https://github.com/jayantbh/react-multi-cropper" }, "browser": "dist/index.js", "scripts": { "build": "rollup -c", "start": "rollup -c -w", "prepare": "yarn run build", "format": "prettier --write \"src/**/*.{ts,tsx,js,scss}\"", "test": "yarn jest", "serve": "parcel ./examples/index.html -p 3000" }, "keywords": [ "react-crop", "img-crop", "cropping", "react-img-crop", "react-multi-crops", "react" ], "devDependencies": { "@babel/core": "^7.9.0", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "^7.9.0", "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-json": "^4.0.2", "@rollup/plugin-node-resolve": "^7.1.0", "@rollup/plugin-url": "^4.0.2", "@svgr/rollup": "^5.3.0", "@types/jest": "^25.1.4", "@types/ramda": "^0.27.30", "@types/react": "^16.9.31", "@types/react-dom": "^16.9.6", "@types/shortid": "^0.0.29", "@types/use-resize-observer": "^6.0.0", "@types/uuid": "^8.3.0", "babel-core": "^6.26.3", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "babel-runtime": "^6.26.0", "jest": "^25.2.4", "node-sass": "^4.13.1", "parcel": "^1.12.4", "pre-commit": "^1.2.2", "prettier": "^2.0.2", "react": "^16.13.1", "react-dom": "^16.13.1", "rimraf": "^2.6.2", "rollup": "^2.3.2", "rollup-plugin-babel": "^3.0.7", "rollup-plugin-dts": "^1.4.13", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-peer-deps-external": "^2.2.0", "rollup-plugin-postcss": "^2.5.0", "rollup-plugin-sass": "^1.2.2", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-typescript2": "^0.25.3", "ts-jest": "^25.3.0", "tslib": "^1.11.1", "typescript": "^4.0.3" }, "peerDependencies": { "react": "^16.2.0", "react-dom": "^16.2.0" }, "dependencies": { "@types/fabric": "^3.6.8", "fabric": "^4.2.0", "ramda": "^0.27.1", "shortid": "^2.2.15", "src": "^1.1.2", "uuid": "^8.3.1" } }