UNPKG

react-cropper

Version:
100 lines (99 loc) 3.19 kB
{ "name": "react-cropper", "version": "2.1.0", "description": "Cropper as React Component", "main": "dist/react-cropper.umd.js", "module": "dist/react-cropper.es.js", "typings": "types/index.d.ts", "scripts": { "test": "jest --coverage", "lint": "eslint --ext .js,.jsx,.ts,.tsx ./src ./example", "build": "npm run clean && rollup -c rollup.config.ts", "build:dev": "rollup -c rollup.config.dev.ts -w", "clean": "rimraf dist", "prepublishOnly": "npm run build", "commit": "git-cz", "release": "np", "start": "npm-run-all --parallel build:dev browse", "browse": "browser-sync start --s --ss build --index example/index.html --files example/**/*.html,example/assets/**/*.js,example/assets/**/*.css --no-notify" }, "author": "Fong Kuanghuei <waneblade@gmail.com>", "maintainers": [ "Shubhendu Shekhar <connect@shubhendu.de>" ], "homepage": "https://github.com/react-cropper/react-cropper/", "bugs": { "url": "https://github.com/react-cropper/react-cropper/issues" }, "keywords": [ "react", "react-component", "cropper", "image", "cropperjs" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/react-cropper/react-cropper.git" }, "dependencies": { "cropperjs": "^1.5.7" }, "peerDependencies": { "react": "^16.0.0-0" }, "devDependencies": { "@babel/cli": "^7.10.1", "@babel/core": "^7.10.2", "@babel/plugin-proposal-object-rest-spread": "^7.2.0", "@babel/plugin-transform-object-assign": "^7.10.1", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.10.2", "@babel/runtime": "^7.1.2", "@rollup/plugin-babel": "^5.0.4", "@rollup/plugin-commonjs": "^15.0.0", "@rollup/plugin-node-resolve": "^9.0.0", "@rollup/plugin-replace": "^2.3.3", "@testing-library/jest-dom": "^5.11.2", "@testing-library/react": "^10.4.7", "@types/jest": "^26.0.8", "@types/react": "^16.9.36", "@types/react-dom": "^16.9.8", "@types/react-test-renderer": "^16.9.3", "@typescript-eslint/eslint-plugin": "^3.2.0", "@typescript-eslint/parser": "^3.2.0", "babel-jest": "^26.2.2", "babel-preset-react-app": "^9.1.2", "browser-sync": "^2.26.7", "cz-conventional-changelog": "^3.2.0", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.21.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-react": "^7.20.5", "eslint-plugin-react-hooks": "^4.0.4", "jest": "^26.2.2", "jest-environment-jsdom-sixteen": "^1.0.3", "np": "^6.2.4", "npm-run-all": "^4.1.5", "prettier": "2.0.5", "react": "^16.13.1", "react-app-polyfill": "^1.0.6", "react-dom": "^16.13.1", "react-test-renderer": "^16.13.1", "rimraf": "^3.0.2", "rollup": "^2.16.0", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-postcss": "^3.1.2", "rollup-plugin-typescript2": "^0.27.1", "tslib": "^2.0.0", "typescript": "^3.9.7" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }