UNPKG

react-moveable

Version:

A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.

150 lines (149 loc) 5.25 kB
{ "name": "react-moveable", "version": "0.56.0", "description": "A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.", "main": "./dist/moveable.cjs.js", "module": "./dist/moveable.esm.js", "sideEffects": false, "types": "declaration/index.d.ts", "files": [ "./*", "src/*", "dist/*", "declaration/*", "types/*" ], "scripts": { "lint": "eslint ./src/ --ext .ts,.tsx", "storybook": "rm -rf node_modules/.cache && start-storybook -p 6006", "bake": "bake", "test": "test-storybook", "test:build": "EXEC_TEST=true build-storybook -o ./test-static", "test:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn test:build --quiet && npx http-server ./test-static --port 6006 --silent\" \"wait-on tcp:6006 && yarn test\"", "test:fail": "SKIP_TEST=true test-storybook", "test:fail-build": "SKIP_TEST=true build-storybook -o ./test-static", "test:fail-ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn test:fail-build --quiet && npx http-server ./test-static --port 6006 --silent\" \"wait-on tcp:6006 && yarn test:fail\"", "test:type": "tsc -p tsconfig.test.json", "coverage": "test-storybook --maxWorkers=2 --coverage", "build": "npm run lint && npm run test:type && rollup -c && npm run declaration && print-sizes ./dist", "build:storybook": "SKIP_TEST=true build-storybook -o ../../demo/storybook", "declaration": "rm -rf declaration && tsc -p tsconfig.declaration.json" }, "keywords": [ "moveable", "resizable", "scalable", "draggable", "rotatable", "warpable", "pinchable", "groupable", "snappable", "scrollable", "movable", "throttle", "scroll", "ratio", "dom", "resize", "scale", "drag", "move", "rotate", "react", "warp", "snap", "pinch", "react" ], "repository": { "type": "git", "url": "https://github.com/daybrush/moveable/blob/master/packages/react-moveable" }, "author": "Daybrush", "license": "MIT", "bugs": { "url": "https://github.com/daybrush/moveable/issues" }, "homepage": "https://daybrush.com/moveable", "devDependencies": { "@babel/core": "^7.7.2", "@croffle/bakery": "^0.0.25", "@daybrush/builder": "^0.2.4", "@daybrush/tester": "^0.1.3", "@scena/react-guides": "^0.17.1", "@storybook/addon-actions": "6.5.16", "@storybook/addon-controls": "6.5.16", "@storybook/addon-coverage": "^0.0.8", "@storybook/addon-docs": "6.5.16", "@storybook/addon-google-analytics": "^6.2.9", "@storybook/addon-interactions": "6.5.16", "@storybook/addon-links": "6.5.16", "@storybook/addon-storyshots": "6.5.16", "@storybook/addon-viewport": "6.5.16", "@storybook/addons": "6.5.16", "@storybook/jest": "^0.0.10", "@storybook/mdx2-csf": "^0.0.4", "@storybook/react": "6.5.16", "@storybook/test-runner": "^0.9.4", "@storybook/testing-library": "^0.0.13", "@types/node": "^18.11.3", "@types/react": "^16.9.17", "@types/react-dom": "^16.9.4", "@typescript-eslint/eslint-plugin": "^5.60.1", "@typescript-eslint/parser": "^5.60.1", "babel-loader": "^8.0.6", "concurrently": "^7.6.0", "croffle": "^0.0.21", "css-loader": "^5.0.1", "eslint": "^7.7.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-react": "^7.22.0", "gh-pages": "^2.1.1", "http-server": "^14.1.1", "jest": "^29.0.3", "jest-image-snapshot": "^6.1.0", "keycon": "^1.0.0", "print-sizes": "^0.2.0", "pvu": "^0.6.1", "raw-loader": "^4.0.2", "react": "^16.8.6", "react-dom": "^16.8.6", "react-infinite-viewer": "^0.19.1", "react-keycon": "^0.1.2", "react-selecto": "^1.24.0", "storybook-addon-preview": "^2.3.0", "storybook-dark-mode": "^1.0.9", "ts-loader": "^8.1.0", "tslib": "^2.3.1", "typescript": "^4.8 <4.9", "wait-on": "^7.0.1" }, "dependencies": { "@daybrush/utils": "^1.13.0", "@egjs/agent": "^2.2.1", "@egjs/children-differ": "^1.0.1", "@egjs/list-differ": "^1.0.0", "@scena/dragscroll": "^1.4.0", "@scena/event-emitter": "^1.0.5", "@scena/matrix": "^1.1.1", "css-to-mat": "^1.1.1", "framework-utils": "^1.1.0", "gesto": "^1.19.3", "overlap-area": "^1.1.0", "react-css-styled": "^1.1.9", "react-selecto": "^1.25.0" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }