UNPKG

react-custom-events

Version:

A react layer for easily utilizing CustomEvent API

61 lines (60 loc) 1.59 kB
{ "name": "react-custom-events", "version": "1.1.1", "description": "A react layer for easily utilizing CustomEvent API", "main": "dist/index.js", "scripts": { "build": "rollup -c", "start": "rollup -c -w", "test": "jest", "prepublish": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/HarshRohila/react-custom-events.git" }, "author": "Harsh Rohila", "license": "MIT", "bugs": { "url": "https://github.com/HarshRohila/react-custom-events/issues" }, "homepage": "https://github.com/HarshRohila/react-custom-events#readme", "devDependencies": { "@babel/core": "^7.15.5", "@babel/preset-env": "^7.15.6", "@babel/preset-typescript": "^7.15.0", "@testing-library/dom": "^8.5.0", "@testing-library/react": "^12.1.0", "@testing-library/user-event": "^13.2.1", "@types/jest": "^27.0.1", "@types/react": "^16.9.35", "@types/react-dom": "^16.9.8", "babel-core": "^6.26.3", "babel-jest": "^27.1.1", "babel-runtime": "^6.26.0", "jest": "^27.1.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rollup": "^2.10.4", "rollup-plugin-typescript2": "^0.27.1", "ts-jest": "^27.0.5", "typescript": "^3.9.2" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "files": [ "dist" ], "keywords": [ "react", "events", "custom events", "event emitter", "useCustomEventListener", "emitCustomEvent", "CustomEvent" ], "dependencies": {} }