Dependencies spring cleaning

master
Håvar Aambø Fosstveit 2018-10-20 21:13:39 +02:00
parent 040b983567
commit 34765d520d
9 changed files with 50 additions and 20773 deletions

13
app/.babelrc 100644
View File

@ -0,0 +1,13 @@
{
"plugins":
[
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
],
"presets":
[
"@babel/env",
"@babel/react"
]
}

View File

@ -9,7 +9,8 @@ module.exports =
plugins: plugins:
[ [
'import', 'import',
'react' 'react',
'jsx-control-statements'
], ],
extends: extends:
[ [
@ -21,13 +22,13 @@ module.exports =
react: react:
{ {
pragma: 'React', pragma: 'React',
version: '15' version: '16'
} }
}, },
parser: 'babel-eslint', parser: "babel-eslint",
parserOptions: parserOptions:
{ {
ecmaVersion: 9, ecmaVersion: 2018,
sourceType: 'module', sourceType: 'module',
ecmaFeatures: ecmaFeatures:
{ {
@ -177,6 +178,7 @@ module.exports =
'spaced-comment': [ 2, 'always' ], 'spaced-comment': [ 2, 'always' ],
'strict': 2, 'strict': 2,
'valid-typeof': 2, 'valid-typeof': 2,
'eol-last': 0,
'yoda': 2, 'yoda': 2,
// eslint-plugin-import options. // eslint-plugin-import options.
'import/extensions': 2, 'import/extensions': 2,
@ -197,7 +199,7 @@ module.exports =
'react/jsx-no-bind': 0, 'react/jsx-no-bind': 0,
'react/jsx-no-duplicate-props': 2, 'react/jsx-no-duplicate-props': 2,
'react/jsx-no-literals': 0, 'react/jsx-no-literals': 0,
'react/jsx-no-undef': 2, 'react/jsx-no-undef': 0,
'react/jsx-pascal-case': 2, 'react/jsx-pascal-case': 2,
'react/jsx-sort-prop-types': 0, 'react/jsx-sort-prop-types': 0,
'react/jsx-sort-props': 0, 'react/jsx-sort-props': 0,
@ -214,7 +216,7 @@ module.exports =
'react/no-string-refs': 0, 'react/no-string-refs': 0,
'react/no-unknown-property': 2, 'react/no-unknown-property': 2,
'react/prefer-es6-class': 2, 'react/prefer-es6-class': 2,
'react/prop-types': 2, 'react/prop-types': [ 2, { skipUndeclared: true } ],
'react/react-in-jsx-scope': 2, 'react/react-in-jsx-scope': 2,
'react/self-closing-comp': 2, 'react/self-closing-comp': 2,
'react/sort-comp': 0, 'react/sort-comp': 0,

1
app/.npmrc 100644
View File

@ -0,0 +1 @@
package-lock=false

View File

@ -77,10 +77,7 @@ function bundle(options)
// required to be true only for watchify. // required to be true only for watchify.
fullPaths : watch fullPaths : watch
}) })
.transform('babelify', .transform('babelify')
{
presets : [ 'env', 'react-app' ]
})
.transform(envify( .transform(envify(
{ {
NODE_ENV : process.env.NODE_ENV, NODE_ENV : process.env.NODE_ENV,

12214
app/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,10 +7,10 @@
"license": "MIT", "license": "MIT",
"main": "lib/index.jsx", "main": "lib/index.jsx",
"dependencies": { "dependencies": {
"babel-runtime": "^6.26.0", "@babel/runtime": "^7.1.2",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"create-torrent": "^3.32.1", "create-torrent": "^3.32.1",
"debug": "^3.1.0", "debug": "^4.1.0",
"domready": "^1.0.8", "domready": "^1.0.8",
"drag-drop": "^4.2.0", "drag-drop": "^4.2.0",
"file-saver": "^1.3.8", "file-saver": "^1.3.8",
@ -18,42 +18,44 @@
"hark": "^1.2.2", "hark": "^1.2.2",
"js-cookie": "^2.2.0", "js-cookie": "^2.2.0",
"magnet-uri": "^5.2.3", "magnet-uri": "^5.2.3",
"marked": "^0.4.0", "marked": "^0.5.1",
"mediasoup-client": "^2.1.1", "mediasoup-client": "^2.1.1",
"prop-types": "^15.6.2", "prop-types": "^15.6.2",
"random-string": "^0.2.0", "random-string": "^0.2.0",
"react": "^16.4.2", "react": "^16.5.2",
"react-copy-to-clipboard": "^5.0.1", "react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.4.2", "react-dom": "^16.5.2",
"react-draggable": "^3.0.5", "react-draggable": "^3.0.5",
"react-dropdown": "^1.5.0", "react-dropdown": "^1.5.0",
"react-redux": "^5.0.7", "react-redux": "^5.0.7",
"react-spinner": "^0.2.7", "react-spinner": "^0.2.7",
"react-tooltip": "^3.6.1", "react-tooltip": "^3.9.0",
"react-transition-group": "^2.4.0", "react-transition-group": "^2.5.0",
"redux": "^4.0.0", "redux": "^4.0.1",
"redux-logger": "^3.0.6", "redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0", "redux-thunk": "^2.3.0",
"resize-observer-polyfill": "^1.5.0", "resize-observer-polyfill": "^1.5.0",
"riek": "^1.1.0", "riek": "^1.1.0",
"url-parse": "^1.4.3", "url-parse": "^1.4.3",
"webtorrent": "^0.101.2" "webtorrent": "^0.102.4"
}, },
"devDependencies": { "devDependencies": {
"babel-core": "^6.26.3", "@babel/core": "^7.1.2",
"babel-eslint": "^8.2.6", "@babel/plugin-proposal-class-properties": "^7.1.0",
"babel-preset-env": "^1.7.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"babel-preset-es2015": "^6.24.1", "@babel/plugin-transform-runtime": "^7.1.0",
"babel-preset-react-app": "^3.1.2", "@babel/preset-env": "^7.1.0",
"babel-preset-stage-0": "^6.24.1", "@babel/preset-react": "^7.0.0",
"babelify": "^8.0.0", "babel-eslint": "^10.0.1",
"browser-sync": "^2.24.6", "babelify": "^10.0.0",
"browserify": "^16.2.2", "browser-sync": "^2.26.3",
"browserify": "^16.2.3",
"del": "^3.0.0", "del": "^3.0.0",
"envify": "^4.1.0", "envify": "^4.1.0",
"eslint": "^5.3.0", "eslint": "^5.7.0",
"eslint-plugin-import": "^2.13.0", "eslint-plugin-import": "^2.14.0",
"eslint-plugin-react": "^7.10.0", "eslint-plugin-jsx-control-statements": "^2.2.1",
"eslint-plugin-react": "^7.11.1",
"gulp": "^4.0.0", "gulp": "^4.0.0",
"gulp-change": "^1.0.0", "gulp-change": "^1.0.0",
"gulp-css-base64": "^1.3.4", "gulp-css-base64": "^1.3.4",
@ -70,7 +72,7 @@
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
"ncp": "^2.0.0", "ncp": "^2.0.0",
"nib": "^1.1.2", "nib": "^1.1.2",
"supports-color": "^5.4.0", "supports-color": "^5.5.0",
"vinyl-buffer": "^1.0.1", "vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0", "vinyl-source-stream": "^2.0.0",
"watchify": "^3.11.0" "watchify": "^3.11.0"

1
server/.npmrc 100644
View File

@ -0,0 +1 @@
package-lock=false

8525
server/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
"dependencies": { "dependencies": {
"base-64": "^0.1.0", "base-64": "^0.1.0",
"colors": "^1.1.2", "colors": "^1.1.2",
"debug": "^3.1.0", "debug": "^4.1.0",
"express": "^4.16.3", "express": "^4.16.3",
"mediasoup": "^2.1.0", "mediasoup": "^2.1.0",
"passport-dataporten": "^1.3.0", "passport-dataporten": "^1.3.0",
@ -18,7 +18,7 @@
}, },
"devDependencies": { "devDependencies": {
"gulp": "^4.0.0", "gulp": "^4.0.0",
"gulp-eslint": "^4.0.2", "gulp-eslint": "^5.0.0",
"gulp-plumber": "^1.2.0" "gulp-plumber": "^1.2.0"
} }
} }