Skip to content
Permalink
Browse files

Cleanup dependencies in package.json

  • Loading branch information...
robwalch committed May 9, 2019
1 parent 03a318f commit e45ee7d3f44ae9b18b96d907e382c77cbc12df13
Showing with 4 additions and 28 deletions.
  1. +1 −9 karma.conf.js
  2. +0 −4 package.json
  3. +1 −1 test/unit/controls/shortcuts-tooltip.js
  4. +1 −1 test/unit/providers-test.js
  5. +1 −13 yarn.lock
@@ -13,19 +13,12 @@ const webpackTestConfig = merge(webpackConfig, {
output: null,
devtool: false,
externals: {
$: {
commonjs: 'jquery',
amd: 'jquery',
root: '$'
},
sinon: 'sinon'
},
resolve: {
alias: {
'test/underscore': path.resolve(__dirname + '/node_modules/underscore/underscore.js'),
'utils/video': path.resolve(__dirname + '/test/mock/video.js'),
// Tests using jQuery: api-test, jwplayer-selectplayer-test, setup-test
jquery: path.resolve(__dirname + '/node_modules/jquery/dist/jquery.js'),
sinon: path.resolve(__dirname + '/node_modules/sinon/pkg/sinon.js'),
data: path.resolve(__dirname + '/test/data'),
mock: path.resolve(__dirname + '/test/mock')
@@ -43,8 +36,7 @@ const webpackTestConfig = merge(webpackConfig, {
}
],
noParse: [
/node_modules\/sinon\//,
/node_modules\/jquery\//
/node_modules\/sinon\//
]
}
});
@@ -32,7 +32,6 @@
"grunt-karma": "2.0.0",
"grunt-postcss": "0.9.0",
"intersection-observer": "0.5.0",
"jquery": "3.3.1",
"jsdoc": "3.5.5",
"karma": "4.0.0",
"karma-browserstack-launcher": "1.3.0",
@@ -43,7 +42,6 @@
"karma-junit-reporter": "1.2.0",
"karma-mocha": "1.3.0",
"karma-mocha-reporter": "2.2.5",
"karma-requirejs": "1.1.0",
"karma-safari-launcher": "1.0.0",
"karma-sinon": "1.0.5",
"karma-sinon-chai": "2.0.2",
@@ -59,13 +57,11 @@
"postcss-safe-parser": "3.0.1",
"promise-polyfill": "7.1.1",
"puppeteer": "1.11.0",
"requirejs": "2.3.5",
"simple-style-loader": "0.4.4",
"sinon": "7.2.3",
"sinon-chai": "3.3.0",
"stylelint": "9.2.0",
"svg-inline-loader": "0.8.0",
"underscore": "1.8.3",
"webpack": "4.29.0",
"webpack-cli": "3.2.1",
"webpack-merge": "4.2.1"
@@ -2,7 +2,7 @@ import sinon from 'sinon';
import MockModel from 'mock/mock-model';
import MockApi from 'mock/mock-api';
import ShortcutsTooltip from 'view/controls/shortcuts-tooltip';
import { STATE_PLAYING, STATE_PAUSED } from 'events/events';
import { STATE_PLAYING } from 'events/events';

require('css/controls/imports/shortcuts-tooltip.less');

@@ -1,6 +1,6 @@
import Providers, { Loaders } from 'providers/providers';
import Source from 'playlist/source';
import _ from 'underscore/underscore';
import _ from 'utils/underscore';

describe('Providers', function() {

@@ -4410,10 +4410,6 @@ istanbul-reports@^2.0.1:
dependencies:
handlebars "^4.0.11"

jquery@3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca"

js-base64@^2.1.9:
version "2.4.3"
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.3.tgz#2e545ec2b0f2957f41356510205214e98fad6582"
@@ -4608,10 +4604,6 @@ karma-mocha@1.3.0:
dependencies:
minimist "1.2.0"

karma-requirejs@1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/karma-requirejs/-/karma-requirejs-1.1.0.tgz#fddae2cb87d7ebc16fb0222893564d7fee578798"

karma-safari-launcher@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/karma-safari-launcher/-/karma-safari-launcher-1.0.0.tgz#96982a2cc47d066aae71c553babb28319115a2ce"
@@ -6713,10 +6705,6 @@ require-uncached@^1.0.3:
caller-path "^0.1.0"
resolve-from "^1.0.0"

requirejs@2.3.5:
version "2.3.5"
resolved "https://registry.yarnpkg.com/requirejs/-/requirejs-2.3.5.tgz#617b9acbbcb336540ef4914d790323a8d4b861b0"

requires-port@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
@@ -7730,7 +7718,7 @@ underscore@1.6.0, underscore@~1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.6.0.tgz#8b38b10cacdef63337b8b24e4ff86d45aea529a8"

underscore@1.8.3, underscore@~1.8.3:
underscore@~1.8.3:
version "1.8.3"
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022"

0 comments on commit e45ee7d

Please sign in to comment.
You can’t perform that action at this time.