diff --git a/package.json b/package.json index e74ec8e2e..53379e69b 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,6 @@ "prettier": "@pxblue/prettier-config", "dependencies": { "@brainhubeu/react-carousel": "^1.12.15", - "react": "^17.0.2", - "react-app-polyfill": "^2.0.0", - "react-dom": "^17.0.2", "@fontsource/roboto-mono": "^4.1.1", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", @@ -45,7 +42,10 @@ "lodash": "^4.17.20", "placeholder-loading": "^0.2.6", "prop-types": "^15.7.2", + "react": "^17.0.2", + "react-app-polyfill": "^2.0.0", "react-device-detect": "^1.14.0", + "react-dom": "^17.0.2", "react-ga": "^3.0.0", "react-redux": "^7.2.0", "react-router-dom": "^5.1.2", @@ -53,15 +53,27 @@ }, "devDependencies": { "@babel/core": "7.12.3", + "@mdx-js/loader": "^1.5.5", + "@mdx-js/react": "^1.5.5", "@pmmmwh/react-refresh-webpack-plugin": "0.4.3", + "@pxblue/eslint-config": "^2.0.0", + "@pxblue/prettier-config": "^1.0.2", "@svgr/webpack": "5.5.0", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", + "@types/axios": "^0.14.0", + "@types/brainhubeu__react-carousel": "^2.0.0", + "@types/color": "^3.0.1", + "@types/enzyme": "^3.10.5", "@types/jest": "^26.0.15", + "@types/lodash": "^4.14.165", + "@types/mdx-js__react": "^1.5.0", "@types/node": "^12.0.0", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", + "@types/react-redux": "^7.1.7", + "@types/react-router-dom": "^5.1.3", "@typescript-eslint/eslint-plugin": "^4.5.0", "@typescript-eslint/parser": "^4.5.0", "babel-eslint": "^10.1.0", @@ -70,19 +82,22 @@ "babel-plugin-named-asset-import": "^0.3.7", "babel-preset-react-app": "^10.0.0", "bfj": "^7.0.2", - "react-refresh": "^0.8.3", "camelcase": "^6.1.0", - "react-dev-utils": "^11.0.3", "case-sensitive-paths-webpack-plugin": "2.3.0", "css-loader": "4.3.0", + "cypress": "^6.0.0", "dotenv": "8.2.0", "dotenv-expand": "5.1.0", + "enzyme": "^3.11.0", "eslint": "^7.11.0", + "eslint-config-prettier": "^8.0.0", "eslint-config-react-app": "^6.0.0", + "eslint-loader": "^4.0.0", "eslint-plugin-flowtype": "^5.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^24.1.0", "eslint-plugin-jsx-a11y": "^6.3.1", + "eslint-plugin-mdx": "^1.6.8", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-testing-library": "^3.9.2", @@ -92,10 +107,15 @@ "html-webpack-plugin": "4.5.0", "identity-obj-proxy": "3.0.0", "jest": "26.6.0", - "jest-circus": "26.6.0", + "jest-circus": "^26.6.3", + "jest-environment-jsdom-fourteen": "^1.0.0", "jest-resolve": "26.6.0", + "jest-transformer-mdx": "^2.1.0", "jest-watch-typeahead": "0.6.1", + "markdown-link-check": "^3.8.0", "mini-css-extract-plugin": "0.11.3", + "natural": "^5.0.0", + "node-sass": "^5.0.0", "optimize-css-assets-webpack-plugin": "5.0.4", "pnp-webpack-plugin": "1.6.4", "postcss-flexbugs-fixes": "4.2.1", @@ -103,11 +123,16 @@ "postcss-normalize": "8.0.1", "postcss-preset-env": "6.7.0", "postcss-safe-parser": "5.0.2", + "prettier": "^2.0.0", "prompts": "2.4.0", + "react-dev-utils": "^11.0.3", + "react-refresh": "^0.8.3", "resolve": "1.18.1", "resolve-url-loader": "^3.1.2", "sass-loader": "^10.0.5", "semver": "7.3.2", + "source-map-explorer": "^2.5.0", + "start-server-and-test": "^1.11.0", "style-loader": "1.3.0", "terser-webpack-plugin": "4.2.3", "ts-pnp": "1.2.0", @@ -118,31 +143,6 @@ "webpack-dev-server": "3.11.1", "webpack-manifest-plugin": "2.2.0", "workbox-webpack-plugin": "5.1.4", - "@mdx-js/loader": "^1.5.5", - "@mdx-js/react": "^1.5.5", - "@pxblue/eslint-config": "^2.0.0", - "@pxblue/prettier-config": "^1.0.2", - "@types/axios": "^0.14.0", - "@types/color": "^3.0.1", - "@types/enzyme": "^3.10.5", - "@types/lodash": "^4.14.165", - "@types/mdx-js__react": "^1.5.0", - "@types/react-redux": "^7.1.7", - "@types/react-router-dom": "^5.1.3", - "@types/brainhubeu__react-carousel": "^2.0.0", - "cypress": "^6.0.0", - "enzyme": "^3.11.0", - "eslint-config-prettier": "^8.0.0", - "eslint-loader": "^4.0.0", - "eslint-plugin-mdx": "^1.6.8", - "jest-environment-jsdom-fourteen": "^1.0.0", - "jest-transformer-mdx": "^2.1.0", - "markdown-link-check": "^3.8.0", - "natural": "^5.0.0", - "node-sass": "^5.0.0", - "prettier": "^2.0.0", - "source-map-explorer": "^2.5.0", - "start-server-and-test": "^1.11.0", "yarn-audit-fix": "^4.0.0" }, "eslintConfig": { @@ -221,4 +221,4 @@ "react-app" ] } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index c7afff093..680b65f87 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1942,7 +1942,7 @@ "@jest/types" "^24.9.0" jest-mock "^24.9.0" -"@jest/environment@^26.6.0", "@jest/environment@^26.6.2": +"@jest/environment@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.6.2.tgz#ba364cc72e221e79cc8f0a99555bf5d7577cf92c" integrity sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA== @@ -2041,7 +2041,7 @@ "@jest/types" "^24.9.0" "@types/istanbul-lib-coverage" "^2.0.0" -"@jest/test-result@^26.6.0", "@jest/test-result@^26.6.2": +"@jest/test-result@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.6.2.tgz#55da58b62df134576cc95476efa5f7949e3f5f18" integrity sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ== @@ -7000,7 +7000,7 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" -expect@^26.6.0, expect@^26.6.2: +expect@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/expect/-/expect-26.6.2.tgz#c6b996bf26bf3fe18b67b2d0f51fc981ba934417" integrity sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA== @@ -9038,30 +9038,30 @@ jest-changed-files@^26.6.2: execa "^4.0.0" throat "^5.0.0" -jest-circus@26.6.0: - version "26.6.0" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-26.6.0.tgz#7d9647b2e7f921181869faae1f90a2629fd70705" - integrity sha512-L2/Y9szN6FJPWFK8kzWXwfp+FOR7xq0cUL4lIsdbIdwz3Vh6P1nrpcqOleSzr28zOtSHQNV9Z7Tl+KkuK7t5Ng== +jest-circus@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-26.6.3.tgz#3cc7ef2a6a3787e5d7bfbe2c72d83262154053e7" + integrity sha512-ACrpWZGcQMpbv13XbzRzpytEJlilP/Su0JtNCi5r/xLpOUhnaIJr8leYYpLEMgPFURZISEHrnnpmB54Q/UziPw== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^26.6.0" - "@jest/test-result" "^26.6.0" - "@jest/types" "^26.6.0" + "@jest/environment" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" "@types/babel__traverse" "^7.0.4" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" - expect "^26.6.0" + expect "^26.6.2" is-generator-fn "^2.0.0" - jest-each "^26.6.0" - jest-matcher-utils "^26.6.0" - jest-message-util "^26.6.0" - jest-runner "^26.6.0" - jest-runtime "^26.6.0" - jest-snapshot "^26.6.0" - jest-util "^26.6.0" - pretty-format "^26.6.0" + jest-each "^26.6.2" + jest-matcher-utils "^26.6.2" + jest-message-util "^26.6.2" + jest-runner "^26.6.3" + jest-runtime "^26.6.3" + jest-snapshot "^26.6.2" + jest-util "^26.6.2" + pretty-format "^26.6.2" stack-utils "^2.0.2" throat "^5.0.0" @@ -9125,7 +9125,7 @@ jest-docblock@^26.0.0: dependencies: detect-newline "^3.0.0" -jest-each@^26.6.0, jest-each@^26.6.2: +jest-each@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.6.2.tgz#02526438a77a67401c8a6382dfe5999952c167cb" integrity sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A== @@ -9250,7 +9250,7 @@ jest-leak-detector@^26.6.2: jest-get-type "^26.3.0" pretty-format "^26.6.2" -jest-matcher-utils@^26.6.0, jest-matcher-utils@^26.6.2: +jest-matcher-utils@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz#8e6fd6e863c8b2d31ac6472eeb237bc595e53e7a" integrity sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw== @@ -9274,7 +9274,7 @@ jest-message-util@^24.9.0: slash "^2.0.0" stack-utils "^1.0.1" -jest-message-util@^26.6.0, jest-message-util@^26.6.2: +jest-message-util@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.6.2.tgz#58173744ad6fc0506b5d21150b9be56ef001ca07" integrity sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA== @@ -9356,7 +9356,7 @@ jest-resolve@^26.6.2: resolve "^1.18.1" slash "^3.0.0" -jest-runner@^26.6.0, jest-runner@^26.6.3: +jest-runner@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.6.3.tgz#2d1fed3d46e10f233fd1dbd3bfaa3fe8924be159" integrity sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ== @@ -9382,7 +9382,7 @@ jest-runner@^26.6.0, jest-runner@^26.6.3: source-map-support "^0.5.6" throat "^5.0.0" -jest-runtime@^26.6.0, jest-runtime@^26.6.3: +jest-runtime@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.6.3.tgz#4f64efbcfac398331b74b4b3c82d27d401b8fa2b" integrity sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw== @@ -9428,7 +9428,7 @@ jest-serializer@^26.6.2: "@types/node" "*" graceful-fs "^4.2.4" -jest-snapshot@^26.6.0, jest-snapshot@^26.6.2: +jest-snapshot@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.6.2.tgz#f3b0af1acb223316850bd14e1beea9837fb39c84" integrity sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og== @@ -12789,7 +12789,7 @@ pretty-error@^2.1.1: lodash "^4.17.20" renderkid "^2.0.4" -pretty-format@^26.0.0, pretty-format@^26.6.0, pretty-format@^26.6.2: +pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==