{
  "name": "react-axios-progressbar",
  "version": "1.2.0",
  "description": "Show a ProgressBar in React whenever an axios request is in progress.",
  "files": [
    "lib"
  ],
  "main": "lib/index.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/42BV/react-axios-progressbar.git"
  },
  "keywords": [
    "React",
    "Axios",
    "Progressbar"
  ],
  "author": "Gido Manders",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/42BV/react-axios-progressbar/issues"
  },
  "homepage": "https://github.com/42BV/react-axios-progressbar#readme",
  "peerDependencies": {
    "axios": "^0.27.2||^1.0.0",
    "react": "^17.0.2||^18.0.0||^19.0.0"
  },
  "devDependencies": {
    "@testing-library/dom": "10.4.0",
    "@testing-library/jest-dom": "6.6.3",
    "@testing-library/react": "16.1.0",
    "@types/enzyme-to-json": "1.5.7",
    "@types/jest": "29.5.14",
    "@types/react": "19.0.7",
    "@typescript-eslint/eslint-plugin": "8.20.0",
    "@typescript-eslint/parser": "8.20.0",
    "axios": "1.7.9",
    "eslint": "8.57.1",
    "eslint-config-prettier": "10.0.1",
    "eslint-plugin-jest": "28.10.0",
    "eslint-plugin-react": "7.37.4",
    "eslint-plugin-react-hooks": "5.1.0",
    "husky": "9.1.7",
    "jest": "29.7.0",
    "jest-environment-jsdom": "29.7.0",
    "lint-staged": "15.3.0",
    "np": "10.1.0",
    "prettier": "3.4.2",
    "react": "19.0.0",
    "react-dom": "19.0.0",
    "ts-jest": "29.2.5",
    "typescript": "5.7.3"
  },
  "scripts": {
    "start": "jest test --watch",
    "clean": "rm -rf lib",
    "test": "npm run lint && npm run test:ts && npm run test:coverage",
    "test:ts": "tsc --version && tsc --noEmit",
    "test:coverage": "jest test --coverage --no-cache",
    "test:watch": "jest --watch --coverage",
    "tsc": "npm run clean && tsc --version && tsc",
    "lint": "npm run lint:src && npm run lint:test",
    "lint:src": "eslint \"src/**\" --ext js,jsx,ts,tsx --max-warnings=0",
    "lint:test": "eslint \"tests/**\" --ext js,jsx,ts,tsx --max-warnings=0",
    "release": "npm run tsc && np",
    "dev:publish": "./scripts/dev-publish.sh",
    "prepare": "husky install"
  },
  "jest": {
    "collectCoverageFrom": [
      "<rootDir>/src/*.{ts,tsx}"
    ],
    "coverageDirectory": "<rootDir>/coverage",
    "coverageThreshold": {
      "global": {
        "branches": 100,
        "functions": 100,
        "lines": 100,
        "statements": 100
      }
    },
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js"
    ],
    "transform": {
      "\\.tsx?$": "ts-jest"
    },
    "restoreMocks": true,
    "testRegex": "/tests/.*\\.(ts|tsx)$",
    "testEnvironment": "jsdom"
  },
  "lint-staged": {
    "{src,tests}/**/*.{js,jsx,json,scss,ts,tsx}": [
      "prettier --write"
    ]
  }
}
