UNPKG

react-teleporter

Version:

Teleport React components in the same React tree.

70 lines (69 loc) 2.01 kB
{ "name": "react-teleporter", "description": "Teleport React components in the same React tree.", "version": "3.2.0", "sideEffects": false, "type": "module", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "types": "./dist/index.d.ts", "default": "./dist/index.mjs" } }, "keywords": [ "react", "portal", "teleport", "tunnel" ], "funding": { "type": "github", "url": "https://github.com/sponsors/gregberge" }, "repository": "git@github.com:gregberge/react-teleporter.git", "license": "MIT", "scripts": { "build": "rm -rf dist && rollup -c", "format": "prettier --write .", "lint": "eslint . && prettier --check .", "prepublishOnly": "npm run build", "release": "standard-version && conventional-github-releaser --preset angular", "test": "jest" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@babel/core": "^7.18.5", "@babel/eslint-parser": "^7.18.2", "@babel/preset-env": "^7.18.2", "@babel/preset-react": "^7.17.12", "@babel/preset-typescript": "^7.17.12", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.1", "babel-eslint": "^10.1.0", "babel-jest": "^29.5.0", "codecov": "^3.8.3", "conventional-github-releaser": "^3.1.5", "esbuild": "^0.14.45", "eslint": "^8.18.0", "eslint-plugin-react": "^7.30.0", "eslint-plugin-react-hooks": "^4.6.0", "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", "prettier": "^2.7.1", "react": "^19.1.0", "react-dom": "^19.1.0", "rollup": "^2.79.1", "rollup-plugin-dts": "^4.2.3", "rollup-plugin-esbuild": "^4.10.3", "standard-version": "^9.5.0", "typescript": "^4.7.4" } }