Skip to content

Instantly share code, notes, and snippets.

@jameswomack
Created January 14, 2020 18:25
Show Gist options
  • Select an option

  • Save jameswomack/fd7e1ab51e3d054baa89d12b48b582d1 to your computer and use it in GitHub Desktop.

Select an option

Save jameswomack/fd7e1ab51e3d054baa89d12b48b582d1 to your computer and use it in GitHub Desktop.
Looked into unused dependencies & wanted to see if this looks right
diff --git a/package.json b/package.json
index 40439456..96cd7f13 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,6 @@
]
},
"resolutions": {
- "mux.js": "^5.5.1",
"@material-ui/icons": "^4.5.1",
"eslint": "5.12.0"
},
diff --git a/packages/agent/package.json b/packages/agent/package.json
index 24afae0b..33e3764f 100644
--- a/packages/agent/package.json
+++ b/packages/agent/package.json
@@ -7,16 +7,14 @@
"proxy": "http://localhost:3001/",
"dependencies": {
"@date-io/moment": "^1.3.8",
- "@react-google-maps/api": "1.2.3-alpha.11",
+ "@material-ui/pickers": "^3.2.0",
"async": "^2.6.2",
"classnames": "^2.2.6",
"common": "^1.0.0",
"copy-to-clipboard": "^3.2.0",
- "formik": "^1.5.7",
"lodash": "^4.17.11",
"lodash.groupby": "^4.6.0",
"lodash.orderby": "^4.6.0",
- "material-ui-search-bar": "^1.0.0-beta.13",
"mdi-material-ui": "^5.11.0",
"memoize-one": "^5.0.4",
"notistack": "^0.6.1",
@@ -29,12 +27,10 @@
"react-dnd-html5-backend": "^7.4.4",
"react-dropzone": "10.1.5",
"react-modal-image": "^2.3.2",
- "react-text-mask": "^5.4.3",
"react-use": "^12.2.2",
"scroll": "^3.0.1",
"typeface-roboto": "0.0.54",
- "universal-cookie": "^3.1.0",
- "yup": "^0.27.0"
+ "universal-cookie": "^3.1.0"
},
"scripts": {
"lint": "eslint src",
diff --git a/packages/api/package.json b/packages/api/package.json
index ef96120b..8aab13af 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -43,7 +43,6 @@
"dependencies": {
"async": "^2.6.2",
"aws-sdk": "^2.458.0",
- "bcrypt": "^3.0.4",
"compression": "^1.0.3",
"cors": "^2.5.2",
"csv-parse": "^4.3.4",
diff --git a/packages/client/package.json b/packages/client/package.json
index c9c3b18a..da351c8b 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -6,21 +6,17 @@
"main": "src/index.js",
"dependencies": {
"@react-google-maps/api": "1.2.3-alpha.11",
- "@videojs/http-streaming": "^1.9.3",
"classnames": "^2.2.6",
"common": "^1.0.0",
- "dash.js": "^4.0.0",
"hls.js": "^0.12.4",
"lodash": "^4.17.11",
- "material-ui-password-field": "^2.0.1",
"mdi-material-ui": "^5.11.0",
"memoize-one": "^5.0.4",
"react-share": "^3.0.1",
"react-spring": "^8.0.27",
"react-use": "^12.2.0",
"react-waypoint": "^9.0.2",
- "universal-cookie": "^3.1.0",
- "video-react": "^0.13.6"
+ "universal-cookie": "^3.1.0"
},
"scripts": {
"lint": "eslint src",
@@ -69,8 +65,7 @@
"identity-obj-proxy": "^3.0.0",
"pretty": "^2.0.0",
"react-app-rewire-yarn-workspaces": "^1.0.3",
- "react-app-rewired": "^2.1.3",
- "react-test-renderer": "^16.9.0"
+ "react-app-rewired": "^2.1.3"
},
"jest": {
"moduleNameMapper": {
diff --git a/packages/common/components/Video/VideoPlayer.js b/packages/common/components/Video/VideoPlayer.js
index 0a58e647..9c8bc0df 100644
--- a/packages/common/components/Video/VideoPlayer.js
+++ b/packages/common/components/Video/VideoPlayer.js
@@ -2,17 +2,11 @@ import React from 'react';
import classnames from 'classnames';
import videojs from 'video.js';
import 'video.js/dist/video-js.css';
-//import Api from '../utils/Api.js';
-//import 'dashjs';
-//import 'videojs-contrib-dash';
-//import 'videojs-contrib-hls';
import 'videojs-contrib-quality-levels';
import Api from '../../utils/Api';
import { withStyles } from '@material-ui/core/styles';
-//require('videojs-contrib-hls/dist/videojs-contrib-hls.js');
-
const styles = {
root: {
width: '100%',
@@ -124,7 +118,7 @@ class VideoPlayer extends React.Component {
render() {
const { classes } = this.props;
/* let telemetry = {
- dashSuport: '',
+ dashSupport: '',
hlsSupport: ''
};
if (this.player) {
diff --git a/packages/common/package.json b/packages/common/package.json
index 800f3c06..b697ed47 100644
--- a/packages/common/package.json
+++ b/packages/common/package.json
@@ -10,19 +10,18 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/itrvl/common.git"
+ "url": "git+https://github.com/itrvl/itrvl.git"
},
"author": "",
"license": "ISC",
"bugs": {
- "url": "https://github.com/itrvl/common/issues"
+ "url": "https://github.com/itrvl/Project-Tracking/issues"
},
"homepage": "https://github.com/itrvl/common#readme",
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@material-ui/core": "^4.5.1",
"@material-ui/icons": "^4.5.1",
- "@material-ui/pickers": "^3.2.0",
"@material-ui/styles": "^4.5.0",
"@react-google-maps/api": "1.2.3-alpha.11",
"axios": "^0.18.0",
@@ -32,8 +31,6 @@
"material-ui": "^0.20.2",
"material-ui-password-field": "^2.1.0",
"moment": "^2.24.0",
- "mux.js": "^5.5.1",
- "nuka-carousel": "^4.5.5",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-images": "^1.1.0-beta.1",
@@ -43,12 +40,9 @@
"react-slick": "^0.24.0",
"react-stickynode": "^2.1.1",
"react-svg": "^10.0.21",
- "react-video-js-player": "^1.1.1",
"slick-carousel": "^1.8.1",
"tinycolor2": "^1.4.1",
"video.js": "^7.6.5",
- "videojs-contrib-dash": "^2.11.0",
- "videojs-contrib-hls": "^5.15.0",
"videojs-contrib-quality-levels": "^2.0.9"
},
"devDependencies": {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment