{
    "private": true,
    "name": "frontend-publishing",
    "url": "https://github.com/theorchard/frontend-publishing",
    "author": "The Orchard",
    "license": "UNLICENSED",
    "engines": {
        "node": "20.11.1"
    },
    "scripts": {
        "clean": "rm -rf node_modules && rm -rf .cache && yarn install --force",
        "build": "frontend build",
        "start": "frontend start",
        "lint:css": "stylelint 'src/**/*.scss'",
        "lint:js": "eslint --ext .js,.ts,.tsx,.jsx --max-warnings=0 --cache --cache-location .cache/.eslintcache src",
        "lint": "yarn lint:css && yarn lint:js",
        "format": "prettier --write .",
        "format:check": "prettier --check .",
        "test:unit": "env LOCALE= jest",
        "test": "yarn format:check && yarn lint && yarn test:unit",
        "generate:types": "graphql-codegen",
        "prepare": "husky install",
        "postinstall": "patch-package"
    },
    "jest": {
        "preset": "@theorchard/jest-config",
        "setupFilesAfterEnv": [
            "<rootDir>/jest.setup.js"
        ],
        "moduleNameMapper": {
            "^lodash-es$": "lodash",
            "^lodash-es/(.*)$": "lodash/$1"
        }
    },
    "dependencies": {
        "@apollo/client": "3.7.9",
        "@aws-sdk/client-s3": "^3.1016.0",
        "@theorchard/suite-components": "^13.0.3",
        "@theorchard/suite-frontend": "^9.3.1",
        "@theorchard/suite-icons": "^7.19.3",
        "classnames": "^2.5.1",
        "dayjs": "^1.11.11",
        "decimal.js": "^10.4.3",
        "graphql": "^15.3.0",
        "graphql-tag": "^2.12.6",
        "immutable": "^4.3.8",
        "jquery": "^3.7.1",
        "lodash": "^4.18.0",
        "moment": "^2.30.1",
        "popper.js": "^1.16.1",
        "prop-types": "^15.8.1",
        "pug": "^3.0.3",
        "react": "18.3.1",
        "react-dom": "18.3.1",
        "react-is": "17.0.2",
        "react-router-dom": "^5.3.4"
    },
    "devDependencies": {
        "@graphql-tools/jest-transform": "^2.0.0",
        "@testing-library/dom": "^9.3.4",
        "@testing-library/jest-dom": "^5.17.0",
        "@testing-library/react": "^12.1.4",
        "@testing-library/react-hooks": "^8.0.1",
        "@testing-library/user-event": "^13.5.0",
        "@theorchard/eslint-config-react-ts-prettier": "^2.2.3",
        "@theorchard/frontend-cli": "^4.2.3",
        "@theorchard/frontend-cli-webpack": "2.2.0",
        "@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.2",
        "@theorchard/suite-testing": "^3.1.1",
        "@types/jest": "^29.5.12",
        "@types/lodash": "^4.17.4",
        "@types/react": "18.3.18",
        "@types/react-dom": "18.3.5",
        "@types/react-router-dom": "^5.3.3",
        "@types/react-select": "5.0.1",
        "eslint": "8.57.0",
        "eslint-plugin-testing-library": "^6.2.2",
        "husky": ">=6",
        "jest": "^29.7.0",
        "jest-environment-jsdom": "29.7.0",
        "lint-staged": "15.5.2",
        "patch-package": "^8.0.1",
        "prettier": "^3.3.2",
        "react-test-renderer": "^17.0.2",
        "stylelint": "^14.6.1",
        "ts-jest": "^29.1.5",
        "typescript": "5.5.2"
    },
    "browserslist": {
        "production": [
            ">0.2%",
            "not dead",
            "not op_mini all"
        ],
        "development": [
            "last 1 chrome version",
            "last 1 firefox version",
            "last 1 safari version"
        ]
    },
    "resolutions": {
        "@babel/core": "^7.29.6",
        "@babel/helper-compilation-targets": "^7.23.6",
        "@babel/helpers": "^7.26.10",
        "@babel/plugin-transform-modules-systemjs": "^7.29.4",
        "@babel/traverse": "^7.23.2",
        "@tootallnate/once": "^2.0.1",
        "@graphql-tools/jest-transform/@jest/transform/babel-plugin-istanbul/@istanbuljs/load-nyc-config/js-yaml": "^3.15.0",
        "@graphql-tools/jest-transform/@jest/transform/babel-plugin-istanbul/istanbul-lib-instrument/@babel/core/semver": "^6.3.1",
        "@graphql-tools/jest-transform/@jest/transform/babel-plugin-istanbul/istanbul-lib-instrument/semver": "^6.3.1",
        "@theorchard/eslint-config-react-ts-prettier/@theorchard/eslint-config-react-ts/@typescript-eslint/parser/@typescript-eslint/typescript-estree/minimatch": "^9.0.7",
        "@theorchard/eslint-config-react-ts-prettier/@theorchard/eslint-config-react-ts/@typescript-eslint/parser/@typescript-eslint/typescript-estree/minimatch/brace-expansion": "^2.0.3",
        "@theorchard/frontend-cli-webpack/import-glob-loader/loader-utils": "^1.4.2",
        "@theorchard/frontend-cli-webpack/import-glob-loader/loader-utils/json5": "^1.0.2",
        "@theorchard/graphql-codegen-config-frontend/@graphql-codegen/cli/graphql-config/minimatch/brace-expansion": "^5.0.6",
        "brace-expansion": "^1.1.13",
        "fast-uri": "^3.1.2",
        "fast-xml-builder": "^1.1.7",
        "fast-xml-parser": "^5.7.0",
        "follow-redirects": "^1.16.0",
        "form-data": "^4.0.6",
        "http-proxy-middleware": "^2.0.10",
        "jest/@jest/core/@jest/reporters/istanbul-lib-report/make-dir/semver": "^6.3.1",
        "js-cookie": "^3.0.7",
        "js-yaml": "^4.2.0",
        "lodash": "^4.18.0",
        "lodash-es": "^4.18.0",
        "postcss": "^8.5.10",
        "qs": "^6.15.2",
        "serialize-javascript": "^7.0.3",
        "shell-quote": "^1.8.4",
        "uuid": "^14.0.1",
        "webpack-dev-server": "^5.2.5",
        "ws": "^8.21.0"
    },
    "prettier": "@theorchard/prettier-config",
    "lint-staged": {
        "*.{js,jsx,ts,tsx,scss,css,json,md}": [
            "prettier --write"
        ]
    }
}
