lbry-desktop/package.json

264 lines
9.9 KiB
JSON
Raw Normal View History

2017-01-16 20:06:53 +01:00
{
2022-01-31 17:38:57 +01:00
"name": "odysee.com",
"version": "0.0.0",
"description": "Explore a whole universe of videos on Odysee from regular people just like you!",
"keywords": [
2022-01-31 17:38:57 +01:00
"odysee"
],
"license": "MIT",
2022-01-31 17:38:57 +01:00
"homepage": "https://odysee.com",
2017-12-12 12:46:08 +01:00
"bugs": {
2022-01-31 17:38:57 +01:00
"url": "https://github.com/OdyseeTeam/odysee-frontend/issues"
2017-12-12 12:46:08 +01:00
},
"repository": {
"type": "git",
2022-01-31 17:38:57 +01:00
"url": "https://github.com/OdyseeTeam/odysee-frontend"
2017-12-12 12:46:08 +01:00
},
"author": {
2022-01-31 17:38:57 +01:00
"name": "Odysee Inc.",
"email": "hello@odysee.com"
},
2019-03-05 08:47:55 +01:00
"main": "./dist/electron/main.js",
"scripts": {
2020-02-05 04:46:00 +01:00
"compile:electron": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.electron.config.js",
2020-07-02 03:34:50 +02:00
"compile:web": "yarn copyenv && cd web && node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.config.js",
"compile": "cross-env NODE_ENV=production yarn compile:electron && cross-env NODE_ENV=production yarn compile:web",
2021-07-26 20:29:25 +02:00
"copyenv": "copyfiles ./.env* web/",
2019-03-13 07:52:14 +01:00
"dev": "yarn dev:electron",
2019-11-11 16:22:57 +01:00
"dev:electron": "cross-env NODE_ENV=development node ./electron/devServer.js",
2020-09-23 00:24:34 +02:00
"dev:web": "yarn copyenv && cd web && yarn dev",
"dev:web-server": "cross-env NODE_ENV=development yarn compile:web && concurrently \"cross-env NODE_ENV=development yarn compile:web --watch\" \"cd web && yarn dev:server\"",
"dev:internal-apis": "LBRY_API_URL='http://localhost:8080' yarn dev:electron",
2020-01-14 21:44:07 +01:00
"dev:iatv": "LBRY_API_URL='http://localhost:15400' SDK_API_URL='http://localhost:15100' yarn dev:web",
"run:web-server": "cross-env NODE_ENV=production yarn compile:web && cd web && yarn dev:server",
2019-03-06 18:04:26 +01:00
"pack": "electron-builder --dir",
"dist": "electron-builder",
2019-04-04 06:40:28 +02:00
"build": "cross-env NODE_ENV=production yarn compile:electron && electron-builder build",
2019-03-06 18:04:26 +01:00
"build:dir": "yarn build -- --dir -c.compression=store -c.mac.identity=null",
2020-12-08 22:50:10 +01:00
"crossenv": "./node_modules/cross-env/dist/bin/cross-env",
"flow": "flow",
"lint": "eslint 'ui/**/*.{js,jsx}' && eslint 'extras/**/*.{js,jsx}' && eslint 'web/**/*.{js,jsx}' && eslint 'electron/**/*.js' && flow",
"lint-fix": "eslint --fix --quiet 'ui/**/*.{js,jsx}' && eslint --fix --quiet 'extras/**/*.{js,jsx}' && eslint --fix --quiet 'web/**/*.{js,jsx}' && eslint --fix --quiet 'electron/**/*.js'",
2020-12-08 22:50:10 +01:00
"format": "prettier 'src/**/*.{js,jsx,scss,json}' --write",
"flow-defs": "flow-typed install",
2018-03-23 20:37:09 +01:00
"precommit": "lint-staged",
"preinstall": "",
"postinstall": "cd web && yarn && cd .. && if-env NODE_ENV=production && yarn postinstall:warning || if-env APP_ENV=web && echo 'Done installing deps' || yarn postinstall:electron",
"postinstall:electron": "electron-builder install-app-deps && node ./build/downloadDaemon.js && node ./build/downloadLBRYFirst.js",
"postinstall:warning": "echo '\n\nWARNING\n\nNot all node modules were installed because NODE_ENV is set to \"production\".\nThis should only be set after installing dependencies with \"yarn\". The app will not work.\n\n'"
},
"dependencies": {
2021-12-02 17:39:36 +01:00
"@emotion/react": "^11.6.0",
"@emotion/styled": "^11.6.0",
"@mui/material": "^5.2.1",
"@silvermine/videojs-chromecast": "^1.3.3",
"@ungap/from-entries": "^0.2.1",
2019-11-18 19:30:15 +01:00
"auto-launch": "^5.0.5",
2021-12-10 21:03:53 +01:00
"core-js-pure": "^3.19.3",
"electron-dl": "^1.11.0",
"electron-log": "^2.2.12",
"electron-notarize": "^1.0.0",
"electron-updater": "^4.2.4",
2019-11-12 23:00:23 +01:00
"express": "^4.17.1",
"humanize-duration": "^3.27.0",
2020-04-14 01:48:11 +02:00
"if-env": "^1.0.4",
"match-sorter": "^6.3.0",
"parse-duration": "^1.0.0",
"player.js": "^0.1.0",
"proxy-polyfill": "0.1.6",
"re-reselect": "^4.0.0",
"react-beautiful-dnd": "^13.1.0",
"react-color": "^2.19.3",
"react-datetime-picker": "^3.4.3",
"react-plastic": "^1.1.1",
"react-top-loading-bar": "^2.0.1",
"remove-markdown": "^0.3.0",
"rss": "^1.2.2",
2021-06-14 03:58:09 +02:00
"source-map-explorer": "^2.5.2",
"tempy": "^0.6.0",
Support resume-able upload via tus (#186) * Publish button: use spinner instead of "Publishing..." Looks better, plus the preview could take a while sometimes. * Refactor `doPublish`. No functional change This is to allow `doPublish` to accept a custom payload as an input (for resuming uploads), instead of always resolving it from the redux data. * Add doPublishResume * Support resume-able upload via tus ## Issue 38 Handle resumable file upload ## Notes Since we can't serialize a File object, we'll need to the user to re-select the file to resume. * Exclude "modified date" for Firefox/Android ## Issue It appears that the modification date of the Android file changes when selected, so that file was deemed "different" when trying to resume upload. ## Change Exclude modification date for now. Let's assume a smart user. * Move 'currentUploads' to 'publish' reducer `publish` is currently rehydrated, so we can ride on that and don't need to store the `currentUploads` in `localStorage` for persistence. This would allow us to store Markdown Post data too, as `localStorage` has a 5MB limit per app. We could have also made `webReducer` rehydrate, but in this repo, there is no need to split it to another reducer. It also makes more sense to be part of publish anyway (at least to me). This change is mostly moving items between files, with the exception of 1. An additional REHYDRATE in the publish reducer to clean up the tusUploader. 2. Not clearing `currentUploads` in CLEAR_PUBLISH. * Restore v1 code for livestream replay, etc. v2 (tus) does not handle `remote_url`, so the app still needs v1 for that. Since we'll still have v1 code, use v1 for previews as well.
2021-11-10 19:16:16 +01:00
"tus-js-client": "^2.3.0",
"videojs-contrib-ads": "^6.9.0",
"videojs-ima": "^1.11.0",
"videojs-ima-player": "^0.5.6",
"videojs-logo": "^2.1.4"
},
2017-01-27 00:21:06 +01:00
"devDependencies": {
2019-03-05 05:46:57 +01:00
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.3.0",
2019-11-21 18:38:15 +01:00
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
2019-03-27 05:40:02 +01:00
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
2019-03-05 05:46:57 +01:00
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
2019-04-03 07:56:58 +02:00
"@babel/plugin-transform-runtime": "^7.4.3",
2019-03-15 23:37:34 +01:00
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.12.11",
"@babel/preset-flow": "^7.12.1",
2019-03-05 05:46:57 +01:00
"@babel/preset-react": "^7.0.0",
2019-03-15 02:54:17 +01:00
"@babel/register": "^7.0.0",
2019-05-14 22:35:49 +02:00
"@exponent/electron-cookies": "^2.0.0",
"@hot-loader/react-dom": "^16.13",
"@reach/auto-id": "^0.13.0",
2020-12-03 18:29:47 +01:00
"@reach/combobox": "^0.12.1",
"@reach/menu-button": "0.8.6",
"@reach/rect": "^0.16.0",
2019-05-22 05:47:30 +02:00
"@reach/tabs": "^0.1.5",
"@reach/tooltip": "^0.12.1",
2020-12-03 18:29:47 +01:00
"@reach/utils": "^0.12.1",
2020-02-05 04:46:00 +01:00
"@sentry/browser": "^5.12.1",
"@sentry/webpack-plugin": "^1.10.0",
"@types/three": "^0.103.2",
"adm-zip": "^0.4.13",
2019-03-05 05:46:57 +01:00
"async-exit-hook": "^2.0.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-add-module-exports": "^1.0.4",
2019-04-03 07:56:58 +02:00
"babel-plugin-import-glob": "^2.0.0",
2019-03-15 02:54:17 +01:00
"babel-plugin-transform-imports": "^1.5.1",
2019-11-21 23:02:49 +01:00
"babel-plugin-transform-object-rest-spread": "^6.26.0",
2019-03-15 23:37:34 +01:00
"bluebird": "^3.5.1",
"chalk": "^4.1.0",
2019-03-15 23:37:34 +01:00
"classnames": "^2.2.5",
"codemirror": "^5.39.2",
"concurrently": "^4.1.2",
"connected-react-router": "^6.8.0",
"copy-webpack-plugin": "^5.1.2",
2021-07-26 20:29:25 +02:00
"copyfiles": "^2.4.1",
2019-03-15 23:37:34 +01:00
"country-data": "^0.0.31",
2020-12-08 22:50:10 +01:00
"cross-env": "^7.0.3",
2020-06-01 19:03:19 +02:00
"crypto-js": "^4.0.0",
2019-05-29 21:48:44 +02:00
"css-doodle": "^0.7.1",
2019-03-05 05:46:57 +01:00
"css-loader": "^2.1.0",
2019-04-03 07:56:58 +02:00
"cssnano": "^4.1.10",
2019-03-15 23:37:34 +01:00
"dat.gui": "^0.7.2",
"decompress": "^4.2.1",
"del": "^3.0.0",
2017-12-04 20:02:29 +01:00
"devtron": "^1.4.0",
2019-03-15 23:37:34 +01:00
"dom-scroll-into-view": "^1.2.1",
"dotenv-defaults": "^2.0.1",
"dotenv-webpack": "^1.8.0",
"electron": "9.4.0",
2020-10-16 16:29:22 +02:00
"electron-builder": "^22.9.1",
"electron-devtools-installer": "^3.1.1",
2019-03-15 23:37:34 +01:00
"electron-is-dev": "^0.3.0",
"electron-webpack": "^2.8.2",
2019-03-15 23:37:34 +01:00
"electron-window-state": "^4.1.1",
"emoji-dictionary": "^1.0.11",
2019-03-18 06:09:50 +01:00
"eslint": "^5.15.2",
2017-12-13 22:35:07 +01:00
"eslint-config-prettier": "^2.9.0",
2019-03-18 06:09:50 +01:00
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-jsx": "^6.0.2",
"eslint-import-resolver-webpack": "^0.11.0",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-import": "^2.10.0",
2017-12-13 22:35:07 +01:00
"eslint-plugin-jsx-a11y": "^6.0.3",
2019-03-18 06:09:50 +01:00
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prettier": "^2.6.0",
2019-03-18 06:09:50 +01:00
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.7.0",
2019-05-07 04:35:04 +02:00
"eslint-plugin-react-hooks": "^1.6.0",
2019-11-13 19:14:19 +01:00
"eslint-plugin-standard": "^4.0.1",
2019-11-07 20:39:22 +01:00
"file-loader": "^4.2.0",
2019-04-24 16:02:08 +02:00
"flow-bin": "^0.97.0",
"flow-typed": "^2.3.0",
2019-03-15 23:37:34 +01:00
"formik": "^0.10.4",
"hast-util-sanitize": "^3.0.2",
2019-04-04 23:05:23 +02:00
"history": "^4.9.0",
"husky": "^3.1.0",
2019-11-07 20:39:22 +01:00
"imagesloaded": "^4.1.4",
"json-loader": "^0.5.4",
2019-03-15 23:37:34 +01:00
"lbry-format": "https://github.com/lbryio/lbry-format.git",
"lint-staged": "^7.0.2",
2019-03-15 23:37:34 +01:00
"localforage": "^1.7.1",
"lodash-es": "^4.17.14",
"mammoth": "^1.4.16",
2019-03-15 23:37:34 +01:00
"moment": "^2.22.0",
"node-abi": "^2.5.1",
"node-fetch": "^2.6.1",
2019-02-22 06:01:59 +01:00
"node-libs-browser": "^2.1.0",
"node-loader": "^0.6.0",
2021-06-21 18:28:35 +02:00
"node-wget": "^0.4.3",
"nodemon": "^2.0.15",
2019-04-03 07:56:58 +02:00
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-rtl": "^1.7.3",
2019-03-05 05:46:57 +01:00
"preprocess-loader": "^0.3.0",
"prettier": "^2.2.1",
2019-03-15 23:37:34 +01:00
"prop-types": "^15.6.2",
"qrcode.react": "^0.8.0",
2019-03-20 05:52:37 +01:00
"raw-loader": "^2.0.0",
2019-03-15 23:37:34 +01:00
"rc-progress": "^2.0.6",
"react": "^16.8.2",
"react-awesome-lightbox": "^1.7.3",
"react-confetti": "^4.0.1",
2019-03-15 23:37:34 +01:00
"react-dom": "^16.8.2",
"react-draggable": "^4.4.4",
2019-11-14 01:33:36 +01:00
"react-google-recaptcha": "^2.0.1",
2019-06-26 20:11:05 +02:00
"react-hot-loader": "^4.11.1",
2019-03-15 23:37:34 +01:00
"react-modal": "^3.1.7",
"react-paginate": "^5.2.1",
2019-04-04 23:05:23 +02:00
"react-redux": "^6.0.1",
"react-router": "^5.1.0",
2020-01-14 21:44:07 +01:00
"react-router-dom": "^5.1.0",
"react-simplemde-editor": "^4.1.3",
2019-06-11 20:10:58 +02:00
"react-spring": "^8.0.20",
"reakit": "^1.0.0-beta.13",
2019-03-15 23:37:34 +01:00
"redux": "^3.6.0",
2019-07-23 10:05:51 +02:00
"redux-persist": "^5.10.0",
2019-03-15 23:37:34 +01:00
"redux-persist-transform-compress": "^4.2.0",
"redux-persist-transform-filter": "0.0.16",
"redux-thunk": "^2.2.0",
"remark": "^9.0.0",
2019-06-10 22:16:01 +02:00
"remark-attr": "^0.8.3",
"remark-breaks": "^1.0.5",
2019-03-15 23:37:34 +01:00
"remark-emoji": "^2.0.1",
"remark-frontmatter": "^2.0.0",
"remark-react": "^8.0.0",
"reselect": "^4.0.0",
2020-12-01 18:56:59 +01:00
"sass": "^1.29.0",
2019-03-05 05:46:57 +01:00
"sass-loader": "^7.1.0",
2019-03-15 23:37:34 +01:00
"semver": "^5.3.0",
"stream-to-blob-url": "^2.1.1",
2019-06-09 08:57:51 +02:00
"strip-markdown": "^3.0.3",
2019-03-05 05:46:57 +01:00
"style-loader": "^0.23.1",
2019-03-27 05:40:02 +01:00
"terser-webpack-plugin": "^1.2.3",
"three": "^0.125.0",
2019-04-03 07:56:58 +02:00
"three-full": "^17.1.0",
"tiny-relative-date": "^1.3.0",
2019-03-15 23:37:34 +01:00
"tree-kill": "^1.1.0",
"unist-util-visit": "^2.0.3",
"uuid": "^8.3.2",
2021-04-12 18:43:47 +02:00
"vast-client": "^3.1.1",
"video.js": "^7.13.3",
"videojs-contrib-quality-levels": "^2.0.9",
2020-01-24 16:44:37 +01:00
"videojs-event-tracking": "^1.0.1",
2020-04-26 02:54:32 +02:00
"villain-react": "^1.0.9",
2019-04-03 07:56:58 +02:00
"wavesurfer.js": "^2.2.1",
2019-03-05 05:46:57 +01:00
"webpack": "^4.28.4",
2019-03-27 05:40:02 +01:00
"webpack-bundle-analyzer": "^3.1.0",
2019-11-07 20:39:22 +01:00
"webpack-cli": "^3.3.10",
2019-03-09 01:19:29 +01:00
"webpack-config-utils": "^2.3.1",
2019-03-05 07:24:03 +01:00
"webpack-dev-middleware": "^3.6.0",
"webpack-dev-server": "^3.9.0",
2019-03-13 07:52:14 +01:00
"webpack-hot-middleware": "^2.24.3",
2019-03-05 05:46:57 +01:00
"webpack-merge": "^4.2.1",
"webpack-node-externals": "^1.7.2",
"y18n": "^4.0.1",
"yarnhook": "^0.2.0"
},
2017-12-12 12:38:20 +01:00
"engines": {
2018-03-25 19:57:29 +02:00
"node": ">=7",
2017-12-12 12:38:20 +01:00
"yarn": "^1.3"
},
"lbrySettings": {
2021-06-25 22:32:26 +02:00
"lbrynetDaemonVersion": "0.99.0",
2019-07-24 02:12:34 +02:00
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
2019-03-19 02:44:49 +01:00
"lbrynetDaemonDir": "static/daemon",
"lbrynetDaemonFileName": "lbrynet",
2020-07-10 17:59:39 +02:00
"LBRYFirstVersion": "0.0.20",
"LBRYFirstUrlTemplate": "https://github.com/lbryio/lbry-first/releases/download/vLBRYFIRSTVER/lbry-first_OSNAME_amd64.zip",
"LBRYFirstDir": "static/lbry-first",
"LBRYFirstFileName": "lbry-first"
}
2019-01-31 22:26:14 +01:00
}