@bedrock-layout/use-resize-observer
Version:
bedrock-layout useResizeObserver
66 lines (65 loc) • 1.73 kB
JSON
{
"name": "@bedrock-layout/use-resize-observer",
"version": "2.0.18",
"description": "bedrock-layout useResizeObserver",
"sideEffects": false,
"private": false,
"publishConfig": {
"access": "public"
},
"keywords": [
"useResizeObserver",
"react",
"hook",
"bedrock",
"layout"
],
"author": "Jarvis1010 <travis.mair@gmail.com>",
"homepage": "https://bedrock-layout.dev/",
"license": "MIT",
"unpkg": "lib/index.umd.js",
"main": "lib/index.umd.js",
"umd:main": "lib/index.umd.js",
"module": "lib/index.m.js",
"source": "src/index.tsx",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.m.js",
"require": "./lib/index.umd.js"
}
},
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Bedrock-Layouts/Bedrock.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"lint": "eslint --ignore-path .gitignore .",
"clean:build": "rimraf lib",
"build": "vite build && tsc --emitDeclarationOnly",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json)\"",
"fix-format": "yarn prettier --write",
"check-format": "yarn prettier --list-different",
"check-types": "tsc --noEmit"
},
"bugs": {
"url": "https://github.com/Bedrock-Layouts/Bedrock/issues"
},
"peerDependencies": {
"react": "^16.8 || ^17 || ^18"
},
"dependencies": {
"@bedrock-layout/register-resize-callback": "^2.0.15",
"@bedrock-layout/use-stateful-ref": "^2.0.17"
},
"gitHead": "fc611ddcd1bac0cc5e64dd735aecb672edbac082"
}