hunk.code_window:             },
           ],
       ],
   };
   const NPM_TARGET = process.env.npm_lifecycle_event; //eslint-disable-line no-process-env
   const targetIsDevServer = NPM_TARGET === 'dev-server';
   if (targetIsDevServer) {
       config.plugins.push(require.resolve('react-refresh/babel'));
   }
   // Jest needs module transformation
   config.env = {
       test: {
           presets: config.presets,
  
hunk.labels: keep keep keep keep keep replace replace replace replace replace replace replace keep keep keep
hunk.file_path: webapp/playbooks/babel.config.js
hunk.type: replace
file: {
    "name": "playbooks",
    "private": true,
    "version": "7.11.0",
    "dependencies": {
      "@apollo/client": "3.7.3",
      "@floating-ui/react-dom-interactions": "0.6.3",
      "@mattermost/client": "*",
      "@mattermost/compass-icons": "0.1.32",
      "@mattermost/types": "*",
      "@mdi/js": "^6.5.95",
      "@mdi/react": "1.5.0",
      "@tippyjs/react": "4.2.6",
      "chart.js": "3.8.2",
      "chartjs-plugin-annotation": "2.1.2",
      "chrono-node": "2.3.5",
      "core-js": "3.20.2",
      "debounce": "1.2.1",
      "graphql": "16.3.0",
      "js-trim-multiline-string": "^1.0.8",
      "lodash": "4.17.21",
      "luxon": "2.3.1",
      "mattermost-webapp": "*",
      "parse-duration": "1.0.2",
      "qs": "6.10.2",
      "react": "^17.0.2",
      "react-chartjs-2": "4.3.1",
      "react-dom": "^17.0.2",
      "react-infinite-scroll-component": "^6.1.0",
      "react-infinite-scroller": "1.2.6",
      "react-intl": "*",
      "react-redux": "7.2.6",
      "react-router-dom": "5.3.4",
      "react-router-hash-link": "2.4.3",
      "react-select": "4.3.1",
      "react-use": "17.3.2",
      "redux": "4.1.2",
      "styled-components": "5.3.3",
      "typescript": "4.7.4"
    },
    "devDependencies": {
      "@babel/core": "7.16.7",
      "@babel/plugin-proposal-class-properties": "7.16.7",
      "@babel/plugin-proposal-object-rest-spread": "7.16.7",
      "@babel/plugin-proposal-optional-chaining": "7.16.7",
      "@babel/plugin-syntax-dynamic-import": "7.8.3",
      "@babel/preset-env": "7.16.7",
      "@babel/preset-react": "7.16.7",
      "@babel/preset-typescript": "7.16.7",
      "@formatjs/cli": "4.7.0",
      "@graphql-codegen/cli": "2.16.3",
      "@graphql-codegen/client-preset": "1.2.5",
      "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
      "@testing-library/react-hooks": "8.0.0",
      "@types/debounce": "1.2.1",
      "@types/history": "4.7.8",
      "@types/jest": "27.4.0",
      "@types/lodash": "4.14.178",
      "@types/luxon": "2.0.9",
      "@types/qs": "6.9.7",
      "@types/react": "^17.0.2",
      "@types/react-beautiful-dnd": "13.1.2",
      "@types/react-bootstrap": "1.0.1",
      "@types/react-custom-scrollbars": "4.0.10",
      "@types/react-dom": "^17.0.2",
      "@types/react-infinite-scroller": "1.2.3",
      "@types/react-redux": "7.1.21",
      "@types/react-router-dom": "5.3.3",
      "@types/react-router-hash-link": "2.4.5",
      "@types/react-select": "3.1.2",
      "@types/react-test-renderer": "17.0.1",
      "@types/redux-mock-store": "1.0.3",
      "@types/shallow-equals": "1.0.0",
      "@types/styled-components": "5.1.19",
      "@typescript-eslint/eslint-plugin": "5.57.1",
      "@typescript-eslint/parser": "5.57.1",
      "@webpack-cli/serve": "1.6.0",
      "babel-eslint": "10.1.0",
      "babel-jest": "27.4.6",
      "babel-loader": "8.2.3",
      "babel-plugin-add-react-displayname": "0.0.5",
      "babel-plugin-formatjs": "10.3.14",
      "babel-plugin-styled-components": "2.0.2",
      "babel-plugin-typescript-to-proptypes": "2.0.0",
      "classnames": "2.3.1",
      "eslint-import-resolver-webpack": "0.13.2",
      "eslint-plugin-import": "2.25.4",
      "eslint-plugin-import-newlines": "1.3.0",
      "eslint-plugin-no-relative-import-paths": "1.5.0",
      "eslint-plugin-react": "7.28.0",
      "eslint-plugin-react-hooks": "4.3.0",
      "eslint-plugin-unused-imports": "2.0.0",
      "identity-obj-proxy": "3.0.0",
      "jest": "27.4.7",
      "jest-canvas-mock": "2.3.1",
      "jest-junit": "13.0.0",
      "react-beautiful-dnd": "13.1.0",
      "react-bootstrap": "1.6.1",
      "react-refresh": "0.11.0",
      "react-test-renderer": "17.0.2",
      "redux-mock-store": "1.5.4",
      "redux-thunk": "2.4.1",
      "style-loader": "3.3.1",
      "ts-prune": "0.10.3"
    },
    "scripts": {
      "build": "webpack --mode=production --stats-error-details",
      "build:watch": "webpack --mode=production --watch",
      "debug": "webpack --mode=development",
      "debug:watch": "webpack --mode=development --watch",
      "check": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --cache",
      "fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix --cache",
      "test": "cross-env TZ=Etc/UTC jest",
      "test:watch": "cross-env TZ=Etc/UTC jest --watch",
      "test:updatesnapshot": "cross-env TZ=Etc/UTC jest --updateSnapshot",
      "test:debug": "cross-env TZ=Etc/UTC jest --forceExit --detectOpenHandles --verbose",
      "test-ci": "cross-env TZ=Etc/UTC jest --ci --maxWorkers=100%",
      "check-types": "tsc -b",
      "i18n-extract": "formatjs extract \"src/**/*.{ts,tsx}\" --ignore \"**/*.d.ts\" --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format simple --out-file i18n/en.json",
      "graphql": "graphql-codegen --config graphql_gen.ts",
      "report-unused-exports": "ts-prune",
      "start:product": "webpack --mode=development --watch",
      "deploy:product": "node scripts/deploy.js",
      "clean": "rm -rf node_modules"
    }
  }
  