HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/share/opensearch-dashboards/node_modules/react-use/package.json
{
  "name": "react-use",
  "version": "13.27.1",
  "description": "Collection of React Hooks",
  "main": "lib/index.js",
  "module": "esm/index.js",
  "sideEffects": false,
  "files": [
    "lib/",
    "esm/"
  ],
  "types": "lib/index.d.ts",
  "typings": "lib/index.d.ts",
  "scripts": {
    "start": "yarn storybook",
    "test": "jest --maxWorkers 2",
    "test:watch": "jest --watch",
    "test:coverage": "jest --coverage",
    "lint": "eslint '{src,tests}/**/*.{ts,tsx}'",
    "lint:fix": "yarn lint --fix",
    "lint:types": "tsc --noEmit",
    "build:cjs": "tsc",
    "build:es": "tsc -m esNext --outDir esm",
    "build": "yarn build:cjs && yarn build:es",
    "clean": "rimraf lib storybook-static esm",
    "storybook": "start-storybook -p 6008",
    "storybook:build": "build-storybook",
    "storybook:upload": "gh-pages -d storybook-static --git \"$(which git)\"",
    "storybook:clean": "rimraf storybook-static",
    "release": "semantic-release"
  },
  "husky": {
    "hooks": {
      "pre-commit": "yarn lint:types && lint-staged",
      "pre-push": "yarn lint && yarn clean && yarn build && yarn test"
    }
  },
  "author": "@streamich",
  "license": "Unlicense",
  "repository": {
    "type": "git",
    "url": "https://github.com/streamich/react-use"
  },
  "bugs": {
    "url": "https://github.com/streamich/react-use/issues"
  },
  "homepage": "https://github.com/streamich/react-use#readme",
  "dependencies": {
    "@types/js-cookie": "2.2.5",
    "@xobotyi/scrollbar-width": "1.9.5",
    "copy-to-clipboard": "^3.2.0",
    "fast-deep-equal": "^3.1.1",
    "fast-shallow-equal": "^1.0.0",
    "js-cookie": "^2.2.1",
    "nano-css": "^5.2.1",
    "resize-observer-polyfill": "^1.5.1",
    "screenfull": "^5.0.0",
    "set-harmonic-interval": "^1.0.1",
    "throttle-debounce": "^2.1.0",
    "ts-easing": "^0.2.0",
    "tslib": "^1.10.0"
  },
  "peerDependencies": {
    "react": "^16.8.0",
    "react-dom": "^16.8.0"
  },
  "devDependencies": {
    "@babel/core": "7.9.0",
    "@babel/plugin-syntax-dynamic-import": "7.8.3",
    "@babel/preset-env": "7.9.0",
    "@babel/preset-react": "7.9.4",
    "@babel/preset-typescript": "7.9.0",
    "@semantic-release/changelog": "5.0.0",
    "@semantic-release/git": "9.0.0",
    "@semantic-release/npm": "7.0.5",
    "@shopify/jest-dom-mocks": "2.8.11",
    "@storybook/addon-actions": "5.3.17",
    "@storybook/addon-knobs": "5.3.17",
    "@storybook/addon-notes": "5.3.17",
    "@storybook/addon-options": "5.3.17",
    "@storybook/react": "5.3.17",
    "@testing-library/react": "9.5.0",
    "@testing-library/react-hooks": "3.2.1",
    "@types/jest": "25.1.4",
    "@types/react": "16.9.11",
    "@typescript-eslint/eslint-plugin": "2.25.0",
    "@typescript-eslint/parser": "2.25.0",
    "babel-core": "6.26.3",
    "babel-eslint": "10.1.0",
    "babel-loader": "8.1.0",
    "babel-plugin-dynamic-import-node": "2.3.0",
    "eslint": "6.8.0",
    "eslint-config-react-app": "5.2.1",
    "eslint-plugin-flowtype": "4.7.0",
    "eslint-plugin-import": "2.20.1",
    "eslint-plugin-jsx-a11y": "6.2.3",
    "eslint-plugin-react": "7.19.0",
    "eslint-plugin-react-hooks": "2.5.1",
    "fork-ts-checker-webpack-plugin": "4.1.1",
    "gh-pages": "2.2.0",
    "husky": "4.2.3",
    "jest": "25.1.0",
    "jest-localstorage-mock": "2.4.0",
    "keyboardjs": "2.5.1",
    "lint-staged": "10.0.9",
    "markdown-loader": "5.1.0",
    "prettier": "1.19.1",
    "raf-stub": "3.0.0",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-frame-component": "4.1.1",
    "react-spring": "8.0.27",
    "react-test-renderer": "16.13.1",
    "rebound": "0.1.0",
    "redux-logger": "3.0.6",
    "redux-thunk": "2.3.0",
    "rimraf": "3.0.2",
    "rxjs": "6.5.4",
    "semantic-release": "17.0.4",
    "ts-jest": "25.2.1",
    "ts-loader": "6.2.2",
    "ts-node": "8.8.1",
    "typescript": "3.8.3"
  },
  "config": {
    "commitizen": {
      "path": "git-cz"
    }
  },
  "release": {
    "branches": [
      "master",
      {
        "name": "next",
        "prerelease": "rc"
      }
    ],
    "verifyConditions": [
      "@semantic-release/changelog",
      "@semantic-release/npm",
      "@semantic-release/git"
    ],
    "prepare": [
      "@semantic-release/changelog",
      "@semantic-release/npm",
      "@semantic-release/git"
    ]
  },
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "eslint --fix",
      "git add"
    ]
  },
  "volta": {
    "node": "10.19.0",
    "yarn": "1.22.4"
  },
  "collective": {
    "type": "opencollective",
    "url": "https://opencollective.com/react-use"
  },
  "jest": {
    "preset": "ts-jest",
    "clearMocks": true,
    "coverageDirectory": "coverage",
    "testMatch": [
      "<rootDir>/tests/**/*.test.(ts|tsx)"
    ],
    "setupFiles": [
      "./tests/setupTests.ts"
    ]
  }
}