{
  "name": "frontend-collaborator",
  "version": "1.0.0",
  "description": "Frontend react app for managing collaborator splits",
  "url": "https://github.com/theorchard/frontend-collaborator",
  "author": "The Orchard",
  "license": "UNLICENSED",
  "engines": {
    "node": ">=12.14"
  },
  "scripts": {
    "deploy": "env NODE_ENV=production yarn build",
    "build": "frontend build",
    "generate:types": "apollo client:codegen --target typescript --globalTypesFile=src/__definitions__/globalTypes.ts __definitions__",
    "lint": "yarn lint:css && yarn lint:js",
    "lint:css": "stylelint 'src/**/*.scss' --syntax scss",
    "lint:js": "eslint --ext .js,.ts,.tsx,.jsx src lib",
    "start": "frontend start",
    "test": "frontend validate && yarn lint && yarn test:unit",
    "test:unit": "env NODE_ENV=test NODE_PATH=. LOCALE= node_modules/.bin/jest",
    "test:unit:watch": "env NODE_ENV=test NODE_PATH=. LOCALE= node_modules/.bin/jest --watchAll",
    "watch": "yarn test:unit:watch"
  },
  "dependencies": {
    "@apollo/client": "^3.3.13",
    "@orchard/frontend-cli": "^1.2.14",
    "@orchard/frontend-workstation": "^1.1.79",
    "@react-pdf/renderer": "^1.6.12",
    "accounting": "^0.4.1",
    "babel-plugin-inline-react-svg": "^1.1.1",
    "formik": "^2.2.6",
    "frontend-participant-components": "^1.1.42",
    "nock": "^12.0.2",
    "yup": "^0.32.9"
  },
  "jest": {
    "preset": "@orchard/frontend-cli",
    "setupFilesAfterEnv": [
      "<rootDir>/jest.setup.js"
    ],
    "moduleNameMapper": {
      "^!svg-react-loader!.+\\.svg$": "<rootDir>/__mocks__/svg-component.js",
      "\\.svg$": "<rootDir>/__mocks__/file.js"
    }
  },
  "eslintConfig": {
    "extends": "@orchard/frontend",
    "rules": {
      "react/jsx-filename-extension": "off"
    }
  },
  "frontend": {
    "preset": "@orchard/frontend-workstation"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "@orchard/eslint-config-frontend-ts": "^1.1.5",
    "@sheerun/mutationobserver-shim": "^0.3.3",
    "@types/accounting": "^0.4.1",
    "@types/classnames": "^2.2.10",
    "@types/jest": "^26.0.14",
    "@types/lodash": "^4.14.161",
    "@types/react": "^16.9.50",
    "@types/react-dom": "^16.9.8",
    "@types/react-redux": "^7.1.9",
    "@types/react-router-dom": "^5.1.5",
    "@types/react-select": "^4.0.13",
    "@types/segment-analytics": "^0.0.32",
    "@types/uuid": "^8.3.0",
    "apollo": "^2.32.5",
    "eslint-plugin-testing-library": "^4.5.0",
    "react-select-event": "^5.3.0",
    "stylelint-order": "^4.1.0",
    "svg-react-loader": "^0.4.6"
  },
  "resolutions": {
    "graphql": "15.5.0",
    "redux": "4.0.5"
  }
}
