{
    "name": "frontend-account360",
    "version": "1.0.0",
    "private": true,
    "license": "MIT",
    "main": "index.js",
    "scripts": {
        "build": "frontend build",
        "clean": "rm -rf node_modules && rm -rf .cache && yarn install --force",
        "start": "frontend start",
        "format": "prettier --write .",
        "format:check": "prettier --check src",
        "lint:css": "stylelint 'src/**/*.scss'",
        "lint:gql": "eslint --ext .gql,.graphql src/apollo",
        "lint:js": "eslint --ext .js,.ts,.tsx,.jsx --max-warnings=0 --cache --cache-location .cache/.eslintcache src",
        "lint": "yarn lint:css && yarn lint:js",
        "test:unit": "jest",
        "test": "yarn format:check && yarn lint && yarn test:unit",
        "prepare": "husky install",
        "codegen": "graphql-codegen --config codegen.ts"
    },
    "dependencies": {
        "@apollo/client": "3.11.6",
        "@hookform/resolvers": "^3.9.1",
        "@theorchard/suite-components": "^13.7.1",
        "@theorchard/suite-frontend": "^9.11.0",
        "@theorchard/suite-icons": "^7.23.0",
        "classnames": "^2.5.1",
        "graphql": "^16.9.0",
        "lodash": "^4.18.1",
        "query-string": "^9.1.1",
        "react": "18.2.0",
        "react-dom": "18.2.0",
        "react-hook-form": "^7.53.1",
        "react-router-dom": "^5.3.4",
        "use-debounce": "^4.0.0",
        "yup": "^1.4.0"
    },
    "devDependencies": {
        "@graphql-codegen/cli": "^7.1.2",
        "@graphql-codegen/client-preset": "4.3.3",
        "@graphql-codegen/introspection": "4.0.3",
        "@graphql-codegen/near-operation-file-preset": "^3.0.0",
        "@graphql-codegen/typescript": "^4.1.1",
        "@graphql-codegen/typescript-operations": "^4.3.1",
        "@graphql-eslint/eslint-plugin": "^4.4.0",
        "@graphql-tools/jest-transform": "^1.2.2",
        "@testing-library/dom": "^10.1.0",
        "@testing-library/jest-dom": "^6.4.6",
        "@testing-library/react": "^16.0.0",
        "@testing-library/react-hooks": "^8.0.1",
        "@theorchard/eslint-config-react-ts-prettier": "^2.3.1",
        "@theorchard/frontend-cli": "^4.3.1",
        "@theorchard/frontend-cli-webpack": "^2.4.3",
        "@theorchard/graphql-codegen-config-frontend": "^1.1.0",
        "@theorchard/jest-config": "^3.0.0",
        "@theorchard/prettier-config": "^1.0.0",
        "@theorchard/stylelint-config-prettier": "^1.1.3",
        "@theorchard/suite-testing": "^3.2.0",
        "@types/classnames": "^2.2.10",
        "@types/glob": "^7.2.0",
        "@types/jest": "^30.0.0",
        "@types/js-cookie": "^2.2.6",
        "@types/lodash": "^4.14.157",
        "@types/node": "^24.0.0",
        "@types/react": "^19.2.16",
        "@types/react-dom": "^19.2.3",
        "@types/react-router-dom": "^5.1.7",
        "graphql-codegen-typescript-operation-types": "^2.0.2",
        "husky": "^9.0.0",
        "jest": "^30.3.0",
        "jest-environment-jsdom": "^30.3.0",
        "jest-junit": "^17.0.0",
        "lint-staged": ">=10",
        "prettier": "^3.0.0",
        "stylelint": "^14.16.1",
        "ts-jest": "^29.4.9",
        "ts-node": "^10.9.1",
        "typescript": "^5.8.0"
    },
    "prettier": "@theorchard/prettier-config",
    "lint-staged": {
        "*.{js,jsx,ts,tsx,scss,css,json,md,yaml}": [
            "prettier --write"
        ],
        "*.scss": "stylelint --fix",
        "*.{js,css,md}": "prettier --write"
    },
    "eslintConfig": {
        "extends": "@theorchard/react-ts-prettier"
    },
    "jest": {
        "preset": "@theorchard/jest-config",
        "moduleNameMapper": {
            "^lodash-es$": "lodash"
        },
        "reporters": [
            "default",
            [
                "jest-junit",
                {
                    "outputDirectory": "reports/junit",
                    "outputName": "report.xml"
                }
            ]
        ],
        "setupFilesAfterEnv": [
            "<rootDir>/jest.setup.js"
        ]
    },
    "stylelint": {
        "extends": "@theorchard/stylelint-config-prettier",
        "rules": {
            "selector-id-pattern": null,
            "scss/at-mixin-pattern": null,
            "custom-property-pattern": null
        }
    },
    "browserslist": {
        "production": [
            ">0.2%",
            "not dead",
            "not op_mini all"
        ],
        "development": [
            "last 1 chrome version",
            "last 1 firefox version",
            "last 1 safari version"
        ]
    },
    "resolutions": {
        "lodash": "4.18.1",
        "lodash-es": "4.18.1",
        "dset": "3.1.4",
        "path-to-regexp": "1.9.0",
        "immutable": "4.3.8",
        "flatted": "3.4.2",
        "nanoid": "3.3.8",
        "@babel/runtime": "7.26.10",
        "js-yaml": "4.1.1",
        "diff": "4.0.4",
        "yaml": "2.8.3",
        "follow-redirects": "1.16.0",
        "uuid": "14.0.0"
    },
    "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}
