UNPKG

react-hook-geolocation

Version:
51 lines (50 loc) 1.39 kB
{ "name": "react-hook-geolocation", "version": "1.1.0", "description": "React hook for geolocation access", "keywords": [ "react", "hook", "geolocation" ], "repository": "git@github.com:bence-toth/react-hook-geolocation.git", "license": "MIT", "author": "Bence A. Toth <tothab@gmail.com>", "main": "dist/index.js", "eslintConfig": { "extends": [ "react-app", "react-app/jest", "plugin:jsx-a11y/recommended", "plugin:sonarjs/recommended" ] }, "scripts": { "build": "rm -rf dist && babel src --out-dir dist && cp ./src/index.d.ts ./dist && rm ./dist/index.test.js", "lint": "eslint \"src/**/*.{js,jsx}\"", "prettier": "prettier --check .", "test": "jest --passWithNoTests", "test:coverage": "npm test -- --coverage --watchAll=false" }, "devDependencies": { "@babel/cli": "^7.18.10", "@babel/core": "^7.18.10", "@babel/preset-env": "^7.18.10", "@babel/preset-react": "^7.18.6", "@testing-library/react": "^13.3.0", "eslint": "^8.21.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-sonarjs": "^0.14.0", "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", "prettier": "^2.7.1", "react": "^18.2.0" }, "peerDependencies": { "react": "^16.8.0 || ^17 || ^18" }, "files": [ "/dist" ] }