MetaPhase-Consulting/State-TalentMAP

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "talentmap",
  "version": "14.0.0",
  "private": true,
  "dependencies": {
    "@babel/core": "^7.17.9",
    "@babel/polyfill": "^7.12.1",
    "@cmsgov/design-system-core": "^1.18.0",
    "@fortawesome/fontawesome-free": "^5.15.4",
    "@fortawesome/fontawesome-svg-core": "^1.2.36",
    "@fortawesome/free-solid-svg-icons": "^5.15.4",
    "@fortawesome/react-fontawesome": "^0.1.16",
    "@react-pdf-viewer/core": "2.11.0",
    "@react-pdf-viewer/default-layout": "^2.11.0",
    "@sweetalert/with-react": "^0.1.1",
    "@wojtekmaj/react-daterange-picker": "^3.4.0",
    "ag-grid-community": "~31.1.0",
    "ag-grid-react": "~31.1.0",
    "axios": "^0.18.1",
    "axios-cache-adapter": "^2.7.3",
    "babel-plugin-lodash": "^3.3.4",
    "body-parser": "^1.20.0",
    "bowser": "^2.11.0",
    "bunyan": "^1.8.15",
    "connected-react-router": "^6.9.2",
    "core-js": "^2.6.11",
    "css-box-shadow": "^1.0.0-3",
    "darkreader": "^4.7.15",
    "date-fns": "^1.29.0",
    "date-fns-v2": "npm:date-fns@^2.28.0",
    "draft-js": "^0.10.4",
    "draft-js-plugins-editor": "^2.1.1",
    "enum": "^2.5.0",
    "eslint-plugin-react-hooks": "^4.6.0",
    "express": "^4.17.3",
    "flag": "^3.0.0-1",
    "flat": "^4.1.0",
    "font-awesome": "^4.7.0",
    "fuse.js": "^6.6.2",
    "helmet": "^3.21.3",
    "history": "^4.7.2",
    "imagediff": "^1.0.8",
    "immutable": "^3.8.2",
    "jsoneditor": "^9.7.4",
    "jsoneditor-react": "^3.1.2",
    "jspdf": "^2.5.2",
    "localforage": "^1.10.0",
    "lodash": "^4.17.21",
    "lodash-webpack-plugin": "^0.11.6",
    "memoize-one": "^5.2.1",
    "numeral": "^2.0.6",
    "pdfjs-dist": "2.6.347",
    "pem": "1.14.3",
    "prop-types": "^15.6.0",
    "q": "^1.5.1",
    "query-string": "7.0.0",
    "rc-steps": "^3.4.1",
    "react": "^16.14.0",
    "react-autosuggest": "^9.4.3",
    "react-beautiful-dnd": "^13.1.0",
    "react-calendar": "^3.7.0",
    "react-copy-to-clipboard": "^5.0.4",
    "react-countup": "3.0.3",
    "react-datepicker": "^4.7.0",
    "react-day-picker": "^7.4.8",
    "react-dom": "^16.14.0",
    "react-dom-confetti": "^0.2.0",
    "react-fontawesome": "^1.7.1",
    "react-helmet": "^6.0.0",
    "react-image-fallback": "^8.0.0",
    "react-joyride": "^2.4.0",
    "react-keyboard-time-input": "^2.1.1",
    "react-linkify": "^0.2.2",
    "react-loadable": "^5.5.0",
    "react-loading-skeleton": "0.5.0",
    "react-markdown": "^4.3.1",
    "react-markdown-editor": "1.0.0",
    "react-paginate": "^8.1.3",
    "react-picky": "^4.7.2",
    "react-redux": "^7.2.8",
    "react-responsive": "^8.1.0",
    "react-router": "^4.3.1",
    "react-router-dom": "^4.2.2",
    "react-router-scroll-4": "^1.0.0-beta.2",
    "react-scroll": "^1.8.7",
    "react-scroll-up-button": "^1.6.4",
    "react-scrollbar": "^0.5.6",
    "react-select": "^1.1.0",
    "react-simple-dropdown": "^3.2.3",
    "react-spring": "4.0.0",
    "react-sticky": "^6.0.3",
    "react-sticky-el": "^1.1.0",
    "react-switch": "^6.0.0",
    "react-textarea-autosize": "^8.3.3",
    "react-time-picker": "^4.3.0",
    "react-tippy": "^1.4.0",
    "react-toastify": "^7.0.4",
    "recharts": "^1.8.5",
    "redux": "^4.1.2",
    "redux-persist": "^5.10.0",
    "redux-saga": "^0.16.2",
    "redux-thunk": "^2.4.1",
    "regenerator-runtime": "^0.13.9",
    "saml2-js": "2.0.7",
    "shortid": "^2.2.16",
    "sweetalert": "^2.1.2",
    "typeface-merriweather": "^1.1.13",
    "typeface-roboto": "^1.1.13",
    "use-query-params": "^1.2.3",
    "uswds": "~1.6.12",
    "uuid": "9.0.0"
  },
  "resolutions": {
    "**/**/type-fest": "0.21.3",
    "enzyme/cheerio": "1.0.0-rc.12"
  },
  "@comment devDependencies": [
    "dart-sass 1.33.0 introduces a breaking change to division. This causes uswds compilation to fail. https://github.com/sass/dart-sass/releases/tag/1.33.0",
    "react-styleguidist 11.1.7 requires node 14"
  ],
  "devDependencies": {
    "@babel/cli": "^7.17.6",
    "@babel/core": "^7.17.9",
    "@babel/plugin-proposal-class-properties": "^7.16.5",
    "@babel/plugin-syntax-dynamic-import": "7.8.3",
    "@babel/plugin-transform-react-jsx": "^7.17.3",
    "@babel/preset-env": "^7.16.11",
    "@babel/preset-typescript": "^7.16.7",
    "@babel/register": "^7.17.7",
    "@babel/runtime-corejs2": "^7.17.9",
    "@epegzz/sass-vars-loader": "^6.1.0",
    "@pmmmwh/react-refresh-webpack-plugin": "pmmmwh/react-refresh-webpack-plugin#main",
    "@types/axios": "^0.14.0",
    "@types/date-fns": "^2.6.0",
    "@types/jest": "^26.0.24",
    "@types/lodash": "^4.14.181",
    "@types/node": "^16.4.12",
    "@types/numeral": "^2.0.2",
    "@types/react": "^17.0.16",
    "@types/react-dom": "^17.0.14",
    "@types/react-fontawesome": "^1.6.5",
    "@types/react-responsive": "^8.0.5",
    "@types/react-router-dom": "^5.3.3",
    "@types/react-scroll": "^1.8.7",
    "@types/shortid": "^0.0.29",
    "@types/sinon": "^4.0.0",
    "@typescript-eslint/eslint-plugin": "^4.33.0",
    "@typescript-eslint/parser": "^4.33.0",
    "autoprefixer": "^9.8.8",
    "axios-mock-adapter": "^1.20.0",
    "babel-cli": "^6.26.0",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10",
    "babel-jest": "^25.4.0",
    "babel-loader": "^8.2.4",
    "babel-preset-react-app": "9.1.0",
    "bundlesize": "^0.18.1",
    "case-sensitive-paths-webpack-plugin": "^2.3.0",
    "chalk": "2.4.2",
    "cross-os": "^1.4.0",
    "css-loader": "^3.6.0",
    "dotenv": "4.0.0",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.6",
    "enzyme-to-json": "^3.6.1",
    "eslint": "^6",
    "eslint-config-airbnb": "^15.1.0",
    "eslint-config-react-app": "^6.0.0",
    "eslint-loader": "4.0.2",
    "eslint-plugin-import": "2.22.1",
    "eslint-plugin-jsx-a11y": "5.1.1",
    "eslint-plugin-no-loops": "^0.3.0",
    "eslint-plugin-react": "^7.24.0",
    "extract-text-webpack-plugin": "^4.0.0-beta.0",
    "file-loader": "6.1.0",
    "fork-ts-checker-webpack-plugin": "^6.5.0",
    "fs-extra": "^8.1.0",
    "hard-source-webpack-plugin": "^0.13.1",
    "html-webpack-plugin": "^4.5.2",
    "jest": "24.9.0",
    "jest-junit": "^13.0.0",
    "jest-localstorage-mock": "^1.2.0",
    "jsdom": "11.12",
    "mini-css-extract-plugin": "^1.6.0",
    "mock-local-storage": "^1.1.21",
    "node-mocks-http": "1.12.2",
    "object-assign": "4.1.1",
    "object.entries": "^1.1.5",
    "postcss-flexbugs-fixes": "4.2.1",
    "postcss-loader": "3.0.0",
    "progress-bar-webpack-plugin": "^2.1.0",
    "promise": "8.1.0",
    "react-app-polyfill": "^2.0.0",
    "react-dev-utils": "10.1.0",
    "react-error-overlay": "^6.0.7",
    "react-refresh": "^0.12.0",
    "react-router-test-context": "^0.1.0",
    "react-styleguidist": "11.1.6",
    "redux-mock-store": "^1.5.3",
    "redux-saga-test-plan": "^3.7.0",
    "redux-testkit": "^1.0.6",
    "resolve-url-loader": "5.0.0",
    "sass": "1.32.13",
    "sass-lint": "^1.13.1",
    "sass-loader": "^10.1.1",
    "sinon": "^2.4.1",
    "style-loader": "2.0.0",
    "supertest": "^6.2.2",
    "sw-precache-webpack-plugin": "^1.0.0",
    "thread-loader": "^3.0.4",
    "ts-jest": "24.3.0",
    "ts-loader": "8.3.0",
    "typescript": "^4.6.3",
    "url-loader": "^4.1.0",
    "webpack": "^4.46.0",
    "webpack-dashboard": "^3.3.7",
    "webpack-dev-server": "^3.11.0",
    "webpack-manifest-plugin": "^2.2.0",
    "webpack-plugin-ramdisk": "^0.2.0",
    "whatwg-fetch": "2.0.3",
    "workbox-webpack-plugin": "6.5.3",
    "worker-loader": "^3.0.8",
    "yarn": "^1.22.18"
  },
  "scripts": {
    "start": "node scripts/start.js",
    "start:dashboard": "webpack-dashboard node scripts/start.js",
    "build": "node scripts/build.js",
    "test": "node --expose-gc scripts/test.js --env=jsdom --no-cache --coverage --maxWorkers=3 --logHeapUsage",
    "test:local": "node --expose-gc scripts/test.js --env=jsdom --cache --coverage -u --logHeapUsage",
    "clean": "yarn cache clean && rm -rf node_modules && rm yarn.lock && yarn install",
    "server": "yarn run build && node src/server.js",
    "analyze": "codeclimate analyze -f html > codeclimate.html",
    "analyze:eslint": "codeclimate analyze -e eslint:eslint-3 -f html > codeclimate.html",
    "analyze:scss": "codeclimate analyze -e scss-lint -f html > codeclimate.html",
    "stats": "NODE_ENV=production webpack --json --config ./config/webpack.config.prod.js > stats.json",
    "bundlesize": "bundlesize",
    "postinstall": "npm install -g cross-os && cross-os babel-deps"
  },
  "cross-os": {
    "babel-deps": {
      "linux": "test -n \"$NOYARNPOSTINSTALL\" || ./node_modules/@babel/cli/bin/babel.js --presets @babel/preset-env ./node_modules/@sweetalert --out-dir ./node_modules/@sweetalert",
      "darwin": "test -n \"$NOYARNPOSTINSTALL\" || ./node_modules/@babel/cli/bin/babel.js --presets @babel/preset-env ./node_modules/@sweetalert --out-dir ./node_modules/@sweetalert",
      "win32": "node ./node_modules/@babel/cli/bin/babel.js --presets @babel/preset-env ./node_modules/@sweetalert --out-dir ./node_modules/@sweetalert"
    }
  },
  "engines": {
    "node": ">=12"
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}",
      "!src/registerServiceWorker.js",
      "!src/Components/**/index.js",
      "!src/Components/StaticDevContent/*",
      "!src/actions/showStaticContent.js",
      "!src/reducers/showStaticContent.js",
      "!src/Components/CSV/**/*.{js,jsx}",
      "!src/polyfills/**/*.{js,jsx}",
      "!src/testUtilities/**/*"
    ],
    "coverageReporters": [
      "text-summary",
      "lcov"
    ],
    "globals": {
      "ts-jest": {
        "tsConfig": "tsconfig.json"
      }
    },
    "setupFiles": [
      "<rootDir>/config/polyfills.js",
      "jest-localstorage-mock",
      "mock-local-storage"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/config/jest/setupTests.js"
    ],
    "testMatch": [
      "<rootDir>/src/**/__tests__/**/*.js?(x)",
      "<rootDir>/src/**/?(*.)(spec|test).js?(x)",
      "<rootDir>/src/**/__tests__/**/*.ts?(x)",
      "<rootDir>/src/**/?(*.)(spec|test).ts?(x)"
    ],
    "testEnvironment": "node",
    "testURL": "http://localhost",
    "transform": {
      "^.+\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest",
      "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
      "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
      "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
    },
    "transformIgnorePatterns": [
      "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
    ],
    "moduleNameMapper": {
      "^src(.*)$": "<rootDir>/src$1",
      "^Components(.*)$": "<rootDir>/src/Components$1",
      "^actions(.*)$": "<rootDir>/src/actions$1",
      "^Constants(.*)$": "<rootDir>/src/Constants$1",
      "^Containers(.*)$": "<rootDir>/src/Containers$1",
      "^reducers(.*)$": "<rootDir>/src/reducers$1",
      "^utilities": "<rootDir>/src/utilities.js",
      "^flags": "<rootDir>/src/flags.js",
      "^hooks": "<rootDir>/src/hooks.js",
      "^react-native$": "react-native-web"
    }
  },
  "jest-junit": {
    "addFileAttribute": "true"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "bundlesize": [
    {
      "path": "./build/static/js/*.js",
      "maxSize": "500 kB"
    }
  ]
}