@chakra-ui/react-env
Version:
Component and hook for handling window and document object in iframe or ssr environment
63 lines • 1.61 kB
JSON
{
"name": "@chakra-ui/react-env",
"version": "3.1.0",
"description": "Component and hook for handling window and document object in iframe or ssr environment",
"keywords": [
"dom",
"environment context",
"ssr",
"iframe",
"window",
"document"
],
"author": "Segun Adebayo <sage@adebayosegun.com>",
"homepage": "https://github.com/chakra-ui/chakra-ui#readme",
"license": "MIT",
"main": "dist/index.js",
"sideEffects": false,
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chakra-ui/chakra-ui.git",
"directory": "packages/components/env"
},
"bugs": {
"url": "https://github.com/chakra-ui/chakra-ui/issues"
},
"dependencies": {
"@chakra-ui/react-use-safe-layout-effect": "2.1.0"
},
"peerDependencies": {
"react": ">=18"
},
"devDependencies": {
"@types/react-frame-component": "^4.1.1",
"react": "^18.0.0",
"react-frame-component": "^5.2.3",
"clean-package": "2.2.0"
},
"clean-package": "../../../clean-package.config.json",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsup src --dts",
"dev": "pnpm build:fast -- --watch",
"clean": "rimraf dist .turbo",
"typecheck": "tsc --noEmit",
"build:fast": "tsup src",
"typedocs": "tsx ../../../scripts/generate-type-docs.ts"
}
}