{
  "description": "OpenShift Web Console",
  "repository": "https://github.com/openshift/console",
  "license": "Apache-2.0",
  "private": true,
  "workspaces": [
    "packages/*",
    "public",
    "integration-tests"
  ],
  "scripts": {
    "clean": "rm -rf ./public/dist",
    "dev": "yarn clean && NODE_OPTIONS=--max-old-space-size=4096 ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack-dev-server",
    "build": "yarn clean && NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack --mode=production",
    "coverage": "jest --coverage .",
    "eslint": "eslint --ext .js,.jsx,.ts,.tsx --color",
    "lint": "yarn eslint .",
    "test": "jest",
    "debug-test": "node --inspect-brk node_modules/.bin/jest --runInBand",
    "webdriver-update": "webdriver-manager update --gecko=false",
    "test-gui-tap": "TAP=true yarn run test-gui",
    "test-gui-openshift": "yarn run test-suite --suite crud --params.openshift true",
    "test-gui": "yarn run test-suite --suite all",
    "test-suite": "ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/protractor integration-tests/protractor.conf.ts",
    "debug-test-suite": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' node -r ts-node/register --inspect-brk ./node_modules/.bin/protractor integration-tests/protractor.conf.ts",
    "analyze": "NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack --mode=production --profile --json | awk '{if(NR>2)print}' > public/dist/stats.json && ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack-bundle-analyzer --mode static -r public/dist/report.html public/dist/stats.json",
    "plugin-stats": "node ./plugin-stats.js"
  },
  "jest": {
    "moduleFileExtensions": [
      "js",
      "jsx",
      "ts",
      "tsx",
      "json"
    ],
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
      "\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js"
    },
    "transform": {
      ".(ts|tsx|js|jsx)": "./node_modules/ts-jest/preprocessor.js"
    },
    "transformIgnorePatterns": [
      "<rootDir>/node_modules/(?!(lodash-es|@console|@novnc|@spice-project)/.*)"
    ],
    "testRegex": "/__tests__/.*\\.spec\\.(ts|tsx|js|jsx)$",
    "testURL": "http://localhost",
    "setupFiles": [
      "./__mocks__/localStorage.ts",
      "./__mocks__/matchMedia.js",
      "./__mocks__/serverFlags.js",
      "./__mocks__/mutationObserver.js",
      "./before-tests.js"
    ],
    "coverageDirectory": "__coverage__",
    "coverageReporters": [
      "json",
      "lcov",
      "text",
      "text-summary"
    ],
    "collectCoverageFrom": [
      "public/*.{js,jsx,ts,tsx}",
      "public/{components,module,ui}/**/*.{js,jsx,ts,tsx}",
      "packages/*/src/**/*.{js,jsx,ts,tsx}",
      "!**/node_modules/**"
    ]
  },
  "dependencies": {
    "@fortawesome/fontawesome-free": "^5.9.0",
    "@patternfly/patternfly": "2.33.5",
    "@patternfly/react-charts": "5.0.13",
    "@patternfly/react-core": "3.112.1",
    "@patternfly/react-table": "2.22.17",
    "@patternfly/react-tokens": "2.6.31",
    "@patternfly/react-topology": "2.8.63",
    "@patternfly/react-virtualized-extension": "1.2.53",
    "abort-controller": "3.0.0",
    "classnames": "2.x",
    "core-js": "2.x",
    "d3": "^5.9.2",
    "file-saver": "1.3.x",
    "formik": "2.0.1-rc.1",
    "focus-trap-react": "^6.0.0",
    "fuzzysearch": "1.0.x",
    "history": "4.x",
    "immutable": "3.x",
    "js-base64": "^2.5.1",
    "js-yaml": "^3.13.1",
    "lodash-es": "4.x",
    "memoize-one": "5.x",
    "monaco-languageclient": "^0.9.0",
    "murmurhash-js": "1.0.x",
    "null-loader": "^3.0.0",
    "openshift-logos-icon": "1.7.1",
    "patternfly": "^3.59.1",
    "patternfly-react": "2.32.3",
    "patternfly-react-extensions": "3.0.2",
    "point-in-svg-path": "1.0.1",
    "popper.js": "^1.15.0",
    "prop-types": "15.7.x",
    "react": "^16.9.0",
    "react-copy-to-clipboard": "5.x",
    "react-dnd": "^2.6.0",
    "react-dnd-html5-backend": "^2.6.0",
    "react-dom": "^16.9.0",
    "react-helmet": "^5.2.1",
    "react-jsonschema-form": "^1.0.4",
    "react-lazyload": "^2.6.2",
    "react-linkify": "^0.2.2",
    "react-measure": "^2.2.6",
    "react-modal": "3.x",
    "react-monaco-editor": "0.20.x",
    "react-redux": "7.1.0",
    "react-router": "5.0.1",
    "react-router-dom": "5.0.1",
    "react-tagsinput": "3.19.x",
    "react-transition-group": "2.3.x",
    "react-virtualized": "9.x",
    "redux": "4.0.1",
    "sanitize-html": "1.x",
    "screenfull": "4.x",
    "semver": "^6.0.0",
    "showdown": "1.8.x",
    "text-encoding": "0.x",
    "typesafe-actions": "^4.2.1",
    "url-polyfill": "^1.1.5",
    "url-search-params-polyfill": "2.x",
    "vscode-languageserver-types": "^3.10.0",
    "whatwg-fetch": "2.x",
    "xterm": "^3.12.2",
    "yaml-language-server": "0.5.4",
    "yup": "^0.27.0"
  },
  "devDependencies": {
    "@types/classnames": "^2.2.7",
    "@types/enzyme": "3.x",
    "@types/glob": "7.x",
    "@types/immutable": "3.x",
    "@types/jasmine": "2.8.x",
    "@types/jasminewd2": "2.0.x",
    "@types/jest": "21.x",
    "@types/lodash-es": "4.x",
    "@types/node": "^9.6.52",
    "@types/prop-types": "15.5.6",
    "@types/react": "16.8.13",
    "@types/react-dom": "16.8.4",
    "@types/react-helmet": "5.x",
    "@types/react-jsonschema-form": "^1.0.8",
    "@types/react-redux": "6.0.2",
    "@types/react-router-dom": "4.2.7",
    "@types/react-transition-group": "2.x",
    "@types/react-virtualized": "9.x",
    "@types/webpack": "4.x",
    "bootstrap-sass": "^3.3.7",
    "browser-env": "3.x",
    "cache-loader": "1.x",
    "chalk": "2.3.x",
    "chromedriver": "77.x",
    "circular-dependency-plugin": "5.0.2",
    "css-loader": "0.28.x",
    "enzyme": "^3.9.0",
    "enzyme-adapter-react-16": "1.12.1",
    "file-loader": "1.x",
    "find-up": "4.x",
    "fork-ts-checker-webpack-plugin": "0.x",
    "glob": "7.x",
    "glslify-loader": "1.x",
    "html-webpack-plugin": "3.x",
    "jasmine-console-reporter": "2.x",
    "jasmine-core": "2.x",
    "jasmine-reporters": "2.x",
    "jest": "21.x",
    "jest-cli": "21.x",
    "mini-css-extract-plugin": "0.4.x",
    "monaco-editor-core": "0.14.0",
    "monaco-editor-webpack-plugin": "^1.7.0",
    "node-sass": "4.12.x",
    "prettier": "1.17.1",
    "protractor": "5.4.x",
    "protractor-fail-fast": "3.x",
    "protractor-jasmine2-screenshot-reporter": "0.5.x",
    "read-pkg": "5.x",
    "redux-mock-store": "^1.5.3",
    "resolve-url-loader": "2.x",
    "sass-loader": "6.x",
    "style-loader": "^0.23.1",
    "thread-loader": "1.x",
    "ts-jest": "21.x",
    "ts-loader": "5.3.3",
    "ts-node": "5.x",
    "typescript": "3.6.3",
    "webpack": "4.40.2",
    "webpack-bundle-analyzer": "^3.5.0",
    "webpack-cli": "^3.3.9",
    "webpack-dev-server": "^3.8.1",
    "webpack-virtual-modules": "^0.1.10"
  },
  "engines": {
    "node": ">=8.x"
  }
}
