UNPKG

react-resizable

Version:
93 lines (92 loc) 2.65 kB
{ "name": "react-resizable", "version": "4.0.1", "description": "A component that is resizable with handles.", "main": "index.js", "types": "./build/index.d.ts", "files": [ "build/", "css/", "index.js" ], "scripts": { "lint": "eslint lib/ __tests__/ setupTests/", "typecheck": "tsc --noEmit", "test": "jest --coverage", "unit": "jest --watch --verbose", "build": "bash build.sh", "build-example": "webpack", "dev": "webpack serve --open", "prepublishOnly": "npm run build", "preversion": "npm run lint && npm run typecheck", "version": "git add CHANGELOG.md", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/react-grid-layout/react-resizable.git" }, "keywords": [ "react", "resize", "resizable" ], "author": "Samuel Reed <samuel.trace.reed@gmail.com> (http://strml.net/)", "license": "MIT", "bugs": { "url": "https://github.com/react-grid-layout/react-resizable/issues" }, "homepage": "https://github.com/react-grid-layout/react-resizable", "devDependencies": { "@babel/cli": "^7.28.6", "@babel/core": "^7.29.0", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/preset-env": "^7.29.5", "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@eslint/js": "^9.39.4", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.1.0", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.5.0", "@types/jest": "^30.0.0", "@types/prop-types": "^15.7.0", "@types/react": "^19.2.0", "@types/react-dom": "^19.2.0", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^10.1.1", "cross-env": "^10.1.0", "css-loader": "^7.1.4", "eslint": "^9.39.4", "eslint-plugin-jest": "^29.15.2", "eslint-plugin-react": "^7.37.5", "jest": "^30.4.2", "jest-environment-jsdom": "^30.4.1", "lodash": "^4.18.1", "pre-commit": "^1.1.2", "react": "^19.2.6", "react-dom": "^19.2.6", "style-loader": "^4.0.0", "typescript": "^5.6.0", "webpack": "^5.106.2", "webpack-cli": "^7.0.2", "webpack-dev-server": "^5.2.4" }, "dependencies": { "prop-types": "15.x", "react-draggable": "^4.5.0" }, "peerDependencies": { "react": ">= 16.3", "react-dom": ">= 16.3" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "pre-commit": [ "lint", "test" ] }