UNPKG

react-use-comlink

Version:

React hook for seamless usage with Comlink webworker library

65 lines (64 loc) 1.66 kB
{ "name": "react-use-comlink", "version": "2.0.1", "description": "React hook for seamless usage with Comlink webworker library", "main": "lib/react-use-comlink.js", "source": "src/react-use-comlink.ts", "scripts": { "test": "jest", "build": "tsc -p .", "prepublishOnly": "npm run build", "example": "parcel serve --no-hmr --no-cache example/index.html" }, "types": "lib/react-use-comlink.d.ts", "browserslist": [ "last 1 Chrome version", "last 1 Firefox version" ], "repository": { "type": "git", "url": "git+https://github.com/pocesar/react-use-comlink.git" }, "keywords": [ "react", "hook", "react-hook", "react", "hook", "comlink", "webworker", "web", "worker", "webworkers", "reactjs" ], "author": "Paulo Cesar <https://github.com/pocesar>", "license": "MIT", "bugs": { "url": "https://github.com/pocesar/react-use-comlink/issues" }, "homepage": "https://github.com/pocesar/react-use-comlink#readme", "peerDependencies": { "@types/react": ">=16.8", "react": ">=16.8", "comlink": ">=4.1" }, "devDependencies": { "@types/jest": "^24.0.21", "@types/react": "^16.9.11", "@types/react-dom": "^16.9.3", "comlink": "^4.1.0", "jest": "^24.9.0", "react": "^16.11.0", "react-dom": "^16.11.0", "@testing-library/react": "^9.3.1", "@testing-library/react-hooks": "^3.1.1", "react-test-renderer": "^16.11.0", "ts-jest": "^24.1.0", "tslint": "^5.20.0", "tslint-react": "^4.1.0", "tslint-react-hooks": "^2.2.1", "typescript": "^3.6.4", "parcel-bundler": "^1.12.4" } }