mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
reduce app size
by moving CRA bundled resourced to devDependencies so they are not part of electron app asar
This commit is contained in:
parent
676f92c803
commit
9e2f5caa22
@ -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,
|
||||
|
48
package.json
48
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"
|
||||
|
@ -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==
|
||||
|
Loading…
Reference in New Issue
Block a user