{
  "description": "OpenShift Web Console",
  "repository": "https://github.com/openshift/console",
  "license": "Apache-2.0",
  "private": true,
  "scripts": {
    "dev": "rm -rf ./public/dist/ && ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack --mode development --watch --progress",
    "build": "rm -rf ./public/dist && NODE_ENV=production ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack --mode=production",
    "coverage": "jest --coverage .",
    "lint": "eslint --ext .js,.jsx,.ts,.tsx --color .",
    "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 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"
  },
  "jest": {
    "moduleFileExtensions": [
      "js",
      "jsx",
      "ts",
      "tsx"
    ],
    "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)$": "<rootDir>/__mocks__/styleMock.js"
    },
    "transform": {
      ".(ts|tsx|js|jsx)": "./node_modules/ts-jest/preprocessor.js"
    },
    "transformIgnorePatterns": [
      "<rootDir>/node_modules/(?!lodash-es/.*)"
    ],
    "testRegex": "/__tests__/.*\\.(ts|tsx|js|jsx)$",
    "setupFiles": [
      "./__mocks__/requestAnimationFrame.js",
      "./__mocks__/localStorage.ts",
      "./__mocks__/matchMedia.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}"
    ]
  },
  "dependencies": {
    "@patternfly/patternfly": "1.0.219",
    "@patternfly/react-core": "2.4.1",
    "brace": "0.11.x",
    "classnames": "2.x",
    "core-js": "2.x",
    "file-saver": "1.3.x",
    "font-awesome": "4.7.x",
    "fuzzysearch": "1.0.x",
    "history": "4.x",
    "immutable": "3.x",
    "js-base64": "^2.4.5",
    "js-yaml": "3.x",
    "lodash-es": "4.x",
    "murmurhash-js": "1.0.x",
    "openshift-logos-icon": "1.7.1",
    "patternfly": "^3.59.0",
    "patternfly-react": "2.29.17",
    "patternfly-react-extensions": "2.16.19",
    "plotly.js": "1.47.3",
    "prop-types": "15.6.x",
    "react": "16.6.3",
    "react-copy-to-clipboard": "5.x",
    "react-dnd": "^2.6.0",
    "react-dnd-html5-backend": "^2.6.0",
    "react-dom": "16.x",
    "react-helmet": "5.x",
    "react-jsonschema-form": "^1.0.4",
    "react-lightweight-tooltip": "1.x",
    "react-modal": "3.x",
    "react-redux": "5.x",
    "react-router-dom": "4.x",
    "react-tagsinput": "3.19.x",
    "react-transition-group": "2.3.x",
    "react-virtualized": "9.x",
    "redux": "3.x",
    "redux-form": "7.x",
    "redux-thunk": "2.x",
    "sanitize-html": "1.x",
    "screenfull": "4.x",
    "semver": "^5.5.1",
    "showdown": "1.8.x",
    "text-encoding": "0.x",
    "url-polyfill": "^1.0.12",
    "url-search-params-polyfill": "2.x",
    "whatwg-fetch": "2.x",
    "xterm": "~3.8.1"
  },
  "devDependencies": {
    "@types/enzyme": "3.x",
    "@types/immutable": "3.x",
    "@types/jasmine": "2.8.x",
    "@types/jasminewd2": "2.0.x",
    "@types/lodash-es": "4.x",
    "@types/prop-types": "15.5.6",
    "@types/react": "16.7.4",
    "@types/react-dom": "16.x",
    "@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.1.1",
    "bootstrap-sass": "^3.3.7",
    "cache-loader": "1.x",
    "chromedriver": "^2.43.3",
    "css-loader": "0.28.x",
    "enzyme": "3.x",
    "enzyme-adapter-react-16": "1.x",
    "eslint": "4.x",
    "eslint-plugin-import": "2.x",
    "eslint-plugin-react": "7.x",
    "file-loader": "1.x",
    "fork-ts-checker-webpack-plugin": "0.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",
    "node-sass": "4.8.x",
    "protractor": "5.4.x",
    "protractor-fail-fast": "3.x",
    "protractor-jasmine2-screenshot-reporter": "0.5.x",
    "react-test-renderer": "16.x",
    "resolve-url-loader": "2.x",
    "sass-loader": "6.x",
    "thread-loader": "1.x",
    "ts-jest": "21.x",
    "ts-loader": "4.x",
    "ts-node": "5.x",
    "typescript": "2.9.2",
    "typescript-eslint-parser": "16.0.1",
    "webpack": "4.12.0",
    "webpack-bundle-analyzer": "2.x",
    "webpack-cli": "^2.0.12"
  },
  "engines": {
    "node": ">=8.x"
  }
}
