UNPKG

react-geolocated

Version:
91 lines (90 loc) 2.97 kB
{ "name": "react-geolocated", "description": "React hook for using Geolocation API", "author": "Dan Homola", "user": "no23reason", "version": "4.3.0", "repository": { "type": "git", "url": "https://github.com/no23reason/react-geolocated.git" }, "homepage": "https://no23reason.github.io/react-geolocated/", "bugs": { "url": "https://github.com/no23reason/react-geolocated/issues" }, "keywords": [ "react", "reactjs", "geolocation", "hook", "react-hook" ], "license": "MIT", "main": "dist-modules", "typings": "./dist-modules/index.d.ts", "sideEffects": false, "publishConfig": { "provenance": true }, "scripts": { "dist": "rimraf ./dist-modules && tsc -p .", "prepublishOnly": "npm run dist", "prepush": "npm run test:lint && npm run test:js", "precommit": "pretty-quick --staged", "semantic-release": "semantic-release", "start": "npm run docs:dev", "test:js": "jest --coverage --testPathPattern './tests'", "test:lint": "eslint . --ext .ts,.tsx --ignore-path .gitignore --ignore-pattern dist --ignore-pattern docs --cache", "test:tdd": "jest --watch", "test": "npm run test:lint && npm run test:js", "docs:dev": "parcel --target docs_dev", "docs:build": "parcel build --target docs" }, "targets": { "main": false, "docs": { "source": "demo/index.html", "distDir": "demo/dist", "scopeHoist": false, "publicUrl": "/react-geolocated/" }, "docs_dev": { "source": "demo/index.html", "distDir": "demo/dist" } }, "browserslist": "> 0.5%, last 2 versions, not dead", "peerDependencies": { "react": ">= 16.8.0 < 20.0.0" }, "devDependencies": { "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/jest": "^29.2.1", "@types/react": "^19.0.1", "@types/react-test-renderer": "^19.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "autoprefixer": "^10.4.2", "eslint": "^8.7.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.7.0", "eslint-plugin-react-hooks": "^4.5.0", "jest": "^29.2.2", "jest-environment-jsdom": "^29.2.2", "parcel": "^2.9.0", "postcss": "^8.4.5", "prettier": "~3.4.1", "pretty-quick": "^4.0.0", "process": "^0.11.10", "react": "^19.0.0", "react-dom": "^19.0.0", "react-github-corner": "^2.1.0", "rimraf": "^6.0.1", "semantic-release": "^24.0.0", "tailwindcss": "^3.0.15", "ts-jest": "^29.0.3", "typescript": "^5.0.3" } }