UNPKG

react-drag-resizable

Version:

React component, which can be used to drag and resize, with location limits

75 lines (74 loc) 1.91 kB
{ "private": false, "name": "react-drag-resizable", "description": "React component, which can be used to drag and resize, with location limits", "author": "qiuyanxi", "license": "MIT", "version": "1.2.0", "keywords": [ "React", "drag", "resize" ], "homepage": "https://18888628835.github.io/react-drag-resizable", "repository": { "type": "git", "url": "https://github.com/18888628835/react-drag-resizable.git" }, "files": [ "dist" ], "main": "dist/index.js", "scripts": { "start": "dumi dev", "docs:build": "dumi build", "docs:deploy": "gh-pages -d docs-dist", "build": "father-build", "deploy": "npm run docs:build && npm run docs:deploy", "release": "npm run build && npm publish", "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"", "test": "umi-test", "test:coverage": "umi-test --coverage", "commit": "cz" }, "module": "dist/index.esm.js", "typings": "dist/index.d.ts", "gitHooks": { "pre-commit": "lint-staged" }, "lint-staged": { "*.{js,jsx,less,md,json}": [ "prettier --write" ], "*.ts?(x)": [ "prettier --parser=typescript --write" ] }, "dependencies": { "classnames": "^2.3.1", "react": "^18.1.0", "react-dom": "^18.1.0", "styled-components": "^5.3.5" }, "devDependencies": { "@types/classnames": "^2.3.1", "@types/node": "^17.0.27", "@types/react": "^18.0.8", "@types/react-dom": "^18.0.3", "@types/styled-components": "^5.1.25", "@umijs/test": "^3.0.5", "cz-conventional-changelog": "^3.3.0", "dumi": "^1.0.17", "father-build": "^1.17.2", "gh-pages": "^3.0.0", "lint-staged": "^10.0.7", "prettier": "^2.2.1", "typescript": "^4.6.4", "yorkie": "^2.0.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }