@react-riftgate/portal
Version:
An abstract wrapper component that uses React's Portal underneath
52 lines (51 loc) • 1.28 kB
JSON
{
"name": "@react-riftgate/portal",
"version": "0.1.3",
"type": "module",
"description": "An abstract wrapper component that uses React's Portal underneath",
"keywords": [
"react",
"reactjs",
"portal",
"teleporter",
"riftgate",
"react-riftgate"
],
"author": "Quang Trinh <khacquang.trinh@gmail.com>",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tkhquang/react-riftgate.git"
},
"bugs": {
"url": "https://github.com/tkhquang/react-riftgate/issues"
},
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build"
},
"dependencies": {
"@react-riftgate/utils": "*"
},
"devDependencies": {},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"files": [
"dist"
],
"main": "./dist/@react-riftgate/portal.umd.js",
"module": "./dist/@react-riftgate/portal.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/@react-riftgate/portal.es.js",
"require": "./dist/@react-riftgate/portal.umd.js"
}
}
}