{
    "name": "@ackee/petrus",
    "version": "7.0.3",
    "description": "A tool for handling token-based authentication in React/Redux/Redux-Saga applications",
    "main": "lib/index.js",
    "module": "es/index.js",
    "sideEffects": false,
    "scripts": {
        "prettier": "prettier --config ./prettier.config.cjs --write './src/**/*.{js,jsx,ts,tsx}'",
        "build:lib": "rm -rf ./lib && cross-env BABEL_ENV=lib babel src --out-dir lib  --extensions \".ts,.js,.tsx,.jsx\"",
        "build:es": "rm -rf ./es && cross-env BABEL_ENV=es babel src --out-dir es --extensions \".ts,.js,.tsx,.jsx\"",
        "build:es:types": "tsc -p tsconfig.types.es.json && tsc-alias -p tsconfig.types.es.json",
        "build:lib:types": "tsc -p tsconfig.types.lib.json && tsc-alias -p tsconfig.types.lib.json",
        "build:types": "yarn build:es:types & yarn build:lib:types",
        "build": "yarn build:es && yarn build:lib && yarn build:types",
        "prepare": "yarn build",
        "start": "yarn build && onchange 'src/**/*.{ts,tsx}' -- yarn push",
        "lint": "eslint 'src/**/*.{ts,tsx}'",
        "size:es": "package-size ./es --no-cache",
        "size:lib": "package-size ./lib --no-cache",
        "size": "yarn size:es && yarn size:lib",
        "test": "jest --watch",
        "test:ci": "jest --passWithNoTests",
        "changelog": "gitmoji-changelog",
        "version": "yarn changelog && code --wait CHANGELOG.md && git add CHANGELOG.md",
        "release": "git fetch origin && yarn version",
        "type-check": "tsc --noEmit",
        "type-check:watch": "yarn type-check -- --watch",
        "docs:clear": "rm -rf petrus.wiki/**/*.md .nojekyll petrus.wiki/media",
        "docs": "yarn docs:clear && typedoc --tsconfig tsconfig.json"
    },
    "contributors": [
        "Marek Janča <marek.janca@ackee.cz>",
        "Lukáš Horák <lukas.horak@ackee.cz>",
        "Jiří Čermák <jiri.cermak@ackee.cz>"
    ],
    "license": "MIT",
    "repository": {
        "type": "git",
        "url": "https://github.com/AckeeCZ/petrus"
    },
    "dependencies": {
        "@ackee/redux-utils": "^4.1.2",
        "@reduxjs/toolkit": "^1.8.1",
        "idb": "5.0.4"
    },
    "peerDependencies": {
        "core-js": "3",
        "react": "16 - 18",
        "react-redux": "7 - 8",
        "redux": "4",
        "redux-saga": "1"
    },
    "devDependencies": {
        "@ackee/browserslist-config": "^3.0.0",
        "@ackee/eslint-config": "^4.0.0",
        "@babel/cli": "7.17.10",
        "@babel/core": "7.18.0",
        "@babel/preset-env": "7.18.0",
        "@babel/preset-react": "7.17.12",
        "@babel/preset-typescript": "^7.17.12",
        "@types/jest": "^29.2.4",
        "@types/node": "^14.18.18",
        "@types/react": "^18.0.9",
        "@types/react-redux": "^7.1.24",
        "@typescript-eslint/eslint-plugin": "^5.25.0",
        "@typescript-eslint/parser": "^5.25.0",
        "babel-plugin-custom-import-path-transform": "^1.0.3",
        "babel-plugin-module-resolver": "^4.0.0",
        "babel-plugin-transform-imports": "2.0.0",
        "babel-preset-react-app": "^10.0.1",
        "core-js": "^3.22.8",
        "cross-env": "7.0.3",
        "eslint": "^8.16.0",
        "eslint-config-prettier": "^8.5.0",
        "eslint-plugin-compat": "^4.0.2",
        "eslint-plugin-flowtype": "^8.0.3",
        "eslint-plugin-jest": "^26.2.2",
        "eslint-plugin-jsx-a11y": "^6.5.1",
        "eslint-plugin-react": "^7.30.0",
        "eslint-plugin-react-hooks": "^4.5.0",
        "eslint-plugin-testing-library": "^5.5.0",
        "gitmoji-changelog": "^2.3.0",
        "husky": "4.2.5",
        "jest": "^29.3.1",
        "lint-staged": "10.2.9",
        "onchange": "7.1.0",
        "package-size": "2.x",
        "prettier": "2.6.2",
        "prettier-config-ackee": "0.x",
        "react": "18.1.0",
        "react-redux": "8.0.2",
        "redux": "4.x",
        "redux-saga": "1.x",
        "ts-jest": "^29.0.3",
        "tsc-alias": "^1.6.7",
        "typedoc": "^0.22.17",
        "typedoc-github-wiki-theme": "^1.0.1",
        "typedoc-plugin-markdown": "^3.12.1",
        "typescript": "4.6.4"
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged",
            "pre-push": "yarn lint"
        }
    },
    "lint-staged": {
        "*.{ts,tsx,js,jsx,json,md}": [
            "prettier --config ./prettier.config.cjs --write"
        ]
    },
    "publishConfig": {
        "access": "public"
    },
    "browserslist": [
        "extends @ackee/browserslist-config"
    ],
    "files": [
        "lib",
        "es",
        "docs"
    ]
}
