{
  "name": "frontend-homepage",
  "version": "1.1.0",
  "author": "The Orchard",
  "description": "frontend-homepage",
  "url": "https://github.com/theorchard/frontend-homepage",
  "license": "UNLICENSED",
  "engines": {
    "node": ">=24"
  },
  "packageManager": "pnpm@9.0.5",
  "scripts": {
    "clean": "rm -rf dist && rm -rf .cache && rm -rf node_modules",
    "deploy:pri": "env NODE_ENV=production frontend build --disable-locale-sync --disable-html-output",
    "build": "frontend build",
    "lint": "pnpm lint:css && pnpm lint:js",
    "lint:css": "stylelint 'src/**/*.scss'",
    "lint:js": "eslint --ext .js,.ts,.tsx,.jsx src",
    "start": "frontend start",
    "test": "pnpm validate --strict && pnpm lint && pnpm test:unit",
    "test:unit": "jest",
    "validate": "frontend validate"
  },
  "dependencies": {
    "@orchard/frontend-localization": "^1.2.0",
    "@orchard/frontend-react-components": "^3.3.24",
    "@theorchard/jest-config": "1.2.0",
    "accounting": "^0.4.1",
    "buffer": "^6.0.3",
    "cache-service-cache-module": "^2.0.1",
    "nock": "^12.0.1",
    "stream-browserify": "^3.0.0",
    "react-redux": "^8.1.3",
    "react-with-hook": "^1.3.0",
    "redux": "^4.2.1",
    "redux-thunk": "^2.4.2",
    "superagent": "^3.8.3",
    "superagent-cache-plugin": "^2.0.1",
    "timers-browserify": "^2.0.12",
    "xml2js": "^0.4.23"
  },
  "devDependencies": {
    "@babel/plugin-proposal-class-properties": "7.18.6",
    "@babel/plugin-proposal-export-default-from": "7.29.7",
    "@babel/plugin-syntax-dynamic-import": "7.8.3",
    "@babel/preset-env": "7.29.7",
    "@babel/preset-react": "7.29.7",
    "@graphql-tools/jest-transform": "1.2.3",
    "@testing-library/jest-dom": "^5.16.4",
    "@theorchard/eslint-config-react-ts-prettier": "2.2.3",
    "@theorchard/frontend-cli": "^2.36.0",
    "@theorchard/stylelint-config-prettier": "1.1.2",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.8",
    "express-http-proxy": "^1.6.3",
    "graphql": "^15.10.1",
    "graphql-tag": "^2.10.1",
    "jest": "^29.5.0",
    "jest-environment-jsdom": "^29.5.0",
    "jest-enzyme": "^7.1.2",
    "jest-fetch-mock": "^3.0.3",
    "jest-location-mock": "^1.0.9",
    "react": "16.12.0",
    "react-dom": "16.12.0",
    "react-router": "4.3.1",
    "react-router-dom": "4.3.1",
    "stylelint": "14.16.1",
    "to-fast-properties": "^2.0.0",
    "ts-jest": "^29.1.2",
    "typescript": "^5.4.3"
  },
  "pnpm": {
    "overrides": {
      "@theorchard/frontend-cli-i18n": "1.15.4",
      "cheerio": "1.0.0-rc.3"
    }
  },
  "jest": {
    "preset": "@theorchard/jest-config",
    "roots": [
      "<rootDir>/src"
    ],
    "moduleNameMapper": {
      "^@orchard/frontend-workstation$": "<rootDir>/test/jest-mocks/frontend-workstation.js",
      "^@theorchard/suite-components$": "<rootDir>/test/jest-mocks/suite-components.js",
      "^@theorchard/suite-config$": "<rootDir>/test/jest-mocks/suite-config.js",
      "^@theorchard/suite-frontend$": "<rootDir>/test/jest-mocks/suite-frontend.js",
      "^@theorchard/suite-icons$": "<rootDir>/test/jest-mocks/suite-icons.js",
      "^react-apollo$": "<rootDir>/test/jest-mocks/react-apollo.js"
    },
    "setupFilesAfterEnv": [
      "<rootDir>/jest.setup.js"
    ]
  },
  "eslintConfig": {
    "extends": "@theorchard/eslint-config-react-ts",
    "rules": {
      "react/jsx-filename-extension": "off"
    }
  },
  "frontend": {
    "options": {
      "enableManifest": true
    }
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}
