@oieduardorabelo/use-navigator-online
Version:
React Hooks to detect when your browser is online/offline.
59 lines (58 loc) • 1.43 kB
JSON
{
"name": "@oieduardorabelo/use-navigator-online",
"description": "React Hooks to detect when your browser is online/offline.",
"license": "MIT",
"author": "Eduardo Rabelo <oieduardorabelo@gmail.com> (https://github.com/oieduardorabelo)",
"repository": {
"url": "https://github.com/oieduardorabelo/use-navigator-online",
"type": "git"
},
"version": "6.2.2",
"main": "dist/index.js",
"module": "dist/use-navigator-online.esm.js",
"files": [
"dist"
],
"scripts": {
"build": "tsdx build",
"fmt:p": "prettier-package-json --write",
"start": "tsdx watch",
"test": "tsdx test --env=jsdom",
"test:w": "tsdx test --env=jsdom --watchAll"
},
"typings": "dist/index.d.ts",
"peerDependencies": {
"react": "16.8 - 18",
"react-dom": "16.8 - 18"
},
"devDependencies": {
"@testing-library/dom": "8.14.0",
"@testing-library/react-hooks": "8.0.1",
"@types/jest": "28.1.3",
"@types/react": "18.0.14",
"@types/react-dom": "18.0.5",
"prettier": "2.7.1",
"prettier-package-json": "2.6.4",
"tsdx": "0.14.1",
"tslib": "2.4.0",
"typescript": "4.7.4"
},
"keywords": [
"browser",
"hooks",
"navigator",
"offline",
"online",
"react",
"react-hooks"
],
"publishConfig": {
"access": "public"
},
"prettier": {
"printWidth": 120,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
}
}