UNPKG

@lahzenegar/react-drop-n-crop

Version:

A combined implementation of react-dropzone and react-cropper (translated to farsi)

74 lines (73 loc) 2.56 kB
{ "name": "@lahzenegar/react-drop-n-crop", "version": "0.4.6", "description": "A combined implementation of react-dropzone and react-cropper (translated to farsi)", "repository": { "type": "git", "url": "git+https://github.com/lahzenegar/react-drop-n-crop.git" }, "bugs": { "url": "https://github.com/lahzenegar/react-drop-n-crop/issues" }, "author": "Lahzenegar", "license": "MIT", "main": "lib/index.js", "keywords": [ "react", "javascript", "drop-n-crop", "dropzone", "cropper", "react-cropper", "image-cropper" ], "scripts": { "clean": "rm -rf lib && rm -rf .out", "build": "npm run clean && babel src -d lib && npm run build-stylus", "build-stylus": "stylus styles/index.styl -o lib/react-drop-n-crop.css && stylus styles/index.styl -c -u autoprefixer-stylus -o lib/react-drop-n-crop.min.css && cp styles/index.styl lib/react-drop-n-crop.styl", "precommit": "lint-staged", "prepublish": "eslint src && npm run build", "start": "npm run storybook", "storybook": "stylus -w styles/index.styl -u autoprefixer-stylus -c -o styles/index.css & start-storybook -p 5000 -s storybook", "storybook-build": "stylus styles/index.styl -u autoprefixer-stylus -c -o styles/index.css && build-storybook -s storybook -o .out", "storybook-deploy": "npm run storybook-build && storybook-to-ghpages" }, "dependencies": { "babel": "^6.23.0", "classnames": "^2.2.5", "lodash.includes": "^4.3.0", "prop-types": "^15.5.8", "react-cropper": "^0.12.0", "react-dropzone": "^3.13.0" }, "devDependencies": { "@kadira/storybook": "^2.35.3", "@kadira/storybook-deployer": "^1.2.0", "autoprefixer-stylus": "^0.13.0", "babel-cli": "^6.26.0", "babel-eslint": "^7.2.3", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-react-jsx": "^6.24.1", "babel-preset-es2015": "^6.24.1", "eslint": "^3.19.0", "eslint-config-react-app": "^0.6.2", "eslint-loader": "^1.7.1", "eslint-plugin-flowtype": "^2.32.1", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^4.0.0", "eslint-plugin-react": "^6.10.3", "husky": "^0.13.3", "lint-staged": "^3.4.0", "prettier": "^1.2.2", "stylus": "^0.54.5" }, "peerDependencies": { "react": "^15.3.0", "react-dom": "^15.3.0" }, "homepage": "https://github.com/lahzenegar/react-drop-n-crop#readme", "directories": { "lib": "lib" } }