UNPKG

@vearvip/react-picture-preview

Version:

一个基于 React 和 rc-image 的图片预览组件,具备图片旋转、翻转、缩放和下载等功能。

76 lines (75 loc) 1.86 kB
{ "name": "@vearvip/react-picture-preview", "version": "1.0.0-beta.4", "description": "一个基于 React 和 rc-image 的图片预览组件,具备图片旋转、翻转、缩放和下载等功能。", "files": [ "esm" ], "main": "esm/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "exports": { ".": { "import": "./esm/index.js" }, "./*": "./*" }, "sideEffects": [ "dist/*", "*.scss", "*.less", "*.css" ], "scripts": { "start": "ice-pkg start", "build": "ice-pkg build", "prepublishOnly": "npm run build", "eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./", "eslint:fix": "npm run eslint -- --fix", "stylelint": "stylelint \"**/*.{css,scss,less}\"", "lint": "npm run eslint && npm run stylelint" }, "keywords": [ "图片预览", "照片预览", "picture preview", "image preview", "photo preview", "react component", "react", "component" ], "dependencies": { "@ant-design/icons": "^5.3.7", "@ice/jsx-runtime": "^0.2.0", "@swc/helpers": "^0.5.1", "rc-image": "^7.10.0" }, "devDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0", "@applint/spec": "^1.2.3", "@ice/pkg": "^1.0.0", "@ice/pkg-plugin-docusaurus": "^1.4.18", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "eslint": "^8.0.0", "stylelint": "^15.0.0" }, "peerDependencies": { "react": "^17 || ^18" }, "publishConfig": { "access": "public" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/vearvip/react-picture-preview.git" }, "author": "vearvip", "bugs": { "url": "https://github.com/vearvip/react-picture-preview/issues" }, "homepage": "https://github.com/vearvip/react-picture-preview#readme" }