{
  "name": "frontend-analytics",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "repository": "https://github.com/theorchard/frontend-analytics.git",
  "author": "The Orchard",
  "private": true,
  "engines": {
    "node": ">=14.17"
  },
  "scripts": {
    "build": "frontend build",
    "deploy": "env NODE_ENV=production yarn build",
    "lint:css": "stylelint 'src/**/*.scss' --syntax scss",
    "lint:js": "eslint --ext .js,.ts,.tsx,.jsx src",
    "lint": "yarn lint:css && yarn lint:js",
    "start": "frontend start",
    "test:unit": "jest",
    "test": "frontend validate && yarn lint && yarn test:unit",
    "validate": "frontend validate",
    "generate": "apollo client:codegen --target typescript --outputFlat src/definitions --no-addTypename"
  },
  "jest": {
    "preset": "@orchard/frontend-cli",
    "setupFiles": [
      "<rootDir>/jest.setup.js"
    ]
  },
  "dependencies": {
    "@orchard/frontend-cli": "^1.1.25",
    "@orchard/frontend-workstation": "^1.1.16",
    "apollo-cache-persist-dev": "^0.2.1",
    "apollo-link-batch-http": "^1.2.13",
    "apollo-link-retry": "^2.2.15",
    "highcharts": "^7.2.0",
    "highcharts-react-official": "^2.2.2",
    "i18n-iso-countries": "^4.3.1"
  },
  "devDependencies": {
    "@apollo/react-testing": "^3.1.3",
    "@types/classnames": "^2.2.10",
    "@types/lodash": "^4.14.149",
    "@types/react": "^16.9.23",
    "@types/react-dom": "^16.9.5",
    "@types/segment-analytics": "^0.0.32"
  },
  "eslintConfig": {
    "extends": "@orchard/frontend-ts"
  },
  "frontend": {
    "preset": "@orchard/frontend-workstation",
    "#1": "// upgrading frontend-cli gets into a side effects rabbit hole",
    "#2": "// we can just patch babel preset-env instead: https://github.com/nodejs/node/issues/32852"
  },
  "resolutions": {
    "@babel/preset-env": "7.9.0"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}
