diff --git a/.eslintrc b/.eslintrc index ba8b6a6b..d442fc1c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -13,6 +13,10 @@ "max-len": 0, "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "error", + "import/no-extraneous-dependencies": ["error", { + "devDependencies": true, + "optionalDependencies": false + }], "react/jsx-fragments": 0, "no-console": 0, diff --git a/package.json b/package.json index 3cc153f3..fb663397 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,11 @@ }, "license": "MIT", "devDependencies": { + "axios": "^0.19.2", + "color": "^3.1.0", "concurrently": "^5.1.0", + "csv-parse": "^4.8.5", + "csv-stringify": "^5.3.6", "electron": "^8.0.0", "electron-builder": "^22.3.2", "electron-builder-notarize": "^1.1.2", @@ -43,52 +47,46 @@ "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.14.3", "eslint-plugin-react-hooks": "^1.7.0", - "react-scripts": "^3.4.0", - "svg2png": "^4.1.1", - "use-trace-update": "^1.3.0", - "wait-on": "^4.0.1" - }, - "dependencies": { - "axios": "^0.19.2", - "color": "^3.1.0", - "csv-parse": "^4.8.5", - "csv-stringify": "^5.3.6", - "electron-default-menu": "^1.0.0", - "electron-is-dev": "^0.1.2", - "electron-store": "^5.1.0", "evergreen-ui": "^4.23.0", - "execa": "^4.0.0", - "ffmpeg-static": "^4.0.1", - "ffprobe-static": "^3.0.0", - "file-type": "^12.4.0", "file-url": "^3.0.0", "framer-motion": "^1.8.4", - "fs-extra": "^8.1.0", - "github-api": "^3.2.2", "hammerjs": "^2.0.8", "lodash": "^4.17.13", - "mime-types": "^2.1.14", "moment": "^2.18.1", "mousetrap": "^1.6.1", "p-map": "^3.0.0", "p-queue": "^6.2.0", "pretty-ms": "^6.0.0", - "prop-types": "^15.6.2", "react": "^16.12.0", "react-dom": "^16.12.0", "react-hammerjs": "^1.0.1", "react-icons": "^3.9.0", "react-lottie": "^1.2.3", + "react-scripts": "^3.4.0", "react-sortable-hoc": "^1.5.3", "react-use": "^13.26.1", - "read-chunk": "^2.0.0", - "string-to-stream": "^1.1.1", "strong-data-uri": "^1.0.5", + "svg2png": "^4.1.1", "sweetalert2": "^9.7.2", "sweetalert2-react-content": "^1.0.1", - "trash": "^6.1.1", + "use-trace-update": "^1.3.0", "uuid": "^3.3.2", - "which": "^1.2.11" + "wait-on": "^4.0.1" + }, + "dependencies": { + "electron-default-menu": "^1.0.0", + "electron-is-dev": "^0.1.2", + "electron-store": "^5.1.0", + "execa": "^4.0.0", + "ffmpeg-static": "^4.0.1", + "ffprobe-static": "^3.0.0", + "file-type": "^12.4.0", + "fs-extra": "^8.1.0", + "github-api": "^3.2.2", + "mime-types": "^2.1.14", + "read-chunk": "^2.0.0", + "string-to-stream": "^1.1.1", + "trash": "^6.1.1" }, "eslintConfig": { "extends": "react-app" diff --git a/yarn.lock b/yarn.lock index 574db259..9f0086f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12908,7 +12908,7 @@ which@^1.2.10, which@^1.3.0, which@^1.3.1: dependencies: isexe "^2.0.0" -which@^1.2.11, which@^1.2.8, which@^1.2.9: +which@^1.2.8, which@^1.2.9: version "1.3.0" resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" integrity sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==