UNPKG

@react-awesome/use-selection-range

Version:

useSelectionRange tracks the input selection range.

44 lines (43 loc) 1.22 kB
{ "name": "@react-awesome/use-selection-range", "version": "0.0.3", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "sideEffects": false, "license": "MIT", "description": "useSelectionRange tracks the input selection range.", "keywords": [ "react", "hooks", "input selection range", "selection range" ], "repository": { "url": "https://github.com/trinhthinh388/react-awesome-components" }, "files": [ "dist/**" ], "scripts": { "build": "vite --config ../../vite.config.ts build", "dev": "vite --watch --config ../../vite.config.ts build", "lint": "eslint \"src/**/*.ts*\"", "clean": "rimraf .turbo && rimraf node_modules && rimraf dist", "test": "vitest --config ../../vite.config.ts --coverage --run", "test:ui": "vitest --config ../../vite.config.ts --coverage --ui", "typecheck": "tsc --noEmit" }, "devDependencies": { "@react-awesome/eslint-config": "*", "@react-awesome/tsconfig": "*", "@types/react": "^18.2.46", "@types/react-dom": "^18.2.18", "eslint": "^8.56.0", "react": "^18.2.0", "typescript": "^5.3.3" }, "publishConfig": { "access": "public" } }