@blocdigital/usetoplayerelement
Version:
React hook for monitoring the top layer
84 lines (83 loc) • 2.27 kB
JSON
{
"name": "@blocdigital/usetoplayerelement",
"type": "module",
"version": "0.0.5",
"description": "React hook for monitoring the top layer",
"author": "Bloc Digital <web@bloc.digital>",
"license": "MIT",
"keywords": [
"react",
"react",
"hooks",
"top",
"layer",
"modal",
"dialog",
"popover"
],
"repository": {
"type": "git",
"url": "git+https://github.com/bloc-digital/usetoplayerelement.git"
},
"homepage": "https://github.com/bloc-digital/usetoplayerelement#readme",
"jest": {
"testEnvironment": "jsdom"
},
"types": "dist/types/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "jest"
},
"devDependencies": {
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vitejs/plugin-react-swc": "^4.1.0",
"babel-jest": "^30.1.2",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.21",
"globals": "^16.4.0",
"jest": "^30.1.3",
"jest-environment-jsdom": "^30.1.2",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"vite": "^7.1.7"
},
"bugs": {
"url": "https://github.com/bloc-digital/usetoplayerelement/issues"
},
"peerDependencies": {
"react": "^17 || ^18 || ^19",
"react-dom": "^17 || ^18 || ^19"
}
}