@adrihfly/screen-detector-hook
Version:
A useful react hook for handle screen position and size
63 lines (62 loc) • 1.62 kB
JSON
{
"name": "@adrihfly/screen-detector-hook",
"version": "1.1.0-beta.4",
"description": "A useful react hook for handle screen position and size",
"main": "dist/index.cjs.js",
"types": "dist/types/src/index.d.ts",
"type": "dist/index.esm.js",
"files": [
"dist",
"src",
"README.md"
],
"directories": {
"test": "tests"
},
"scripts": {
"build": "rollup -c",
"test": "jest",
"lint": "eslint src test",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adrihle/screen-detector-hook.git"
},
"keywords": [
"react",
"hooks",
"breakpoints",
"screen"
],
"author": "Adrian Lopez Espinosa",
"license": "ISC",
"bugs": {
"url": "https://github.com/adrihle/screen-detector-hook/issues"
},
"homepage": "https://github.com/adrihle/screen-detector-hook#readme",
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.14",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.4.2",
"rollup": "^4.29.1",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
}
}