state container linked in the app

This commit is contained in:
NikolaBorislavovHristov 2019-04-10 11:04:33 +03:00
parent 5f2a6f5162
commit 6b88de5255
3 changed files with 33 additions and 16 deletions

View file

@ -23,6 +23,7 @@
"stremio-colors": "git+ssh://git@github.com/Stremio/stremio-colors.git#v2.0.3",
"stremio-icons": "git+ssh://git@github.com/Stremio/stremio-icons.git#v1.0.6",
"stremio-json-data": "git+ssh://git@github.com/stremio/stremio-json-data.git#v1.2.3",
"stremio-state-container-web": "git+ssh://git@github.com/stremio/stremio-state-container-web.git#f98635fb004a95d894eafd23ac0c6a2c0803cddd",
"stremio-translations": "git+ssh://git@github.com/Stremio/stremio-translations.git#v1.41.0",
"vtt.js": "0.13.0"
},
@ -30,6 +31,7 @@
"@babel/core": "7.4.3",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/preset-env": "7.4.3",
"@babel/preset-react": "7.0.0",
"@babel/runtime": "7.4.3",

View file

@ -22,7 +22,11 @@ module.exports = {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-object-rest-spread']
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-syntax-dynamic-import'
]
}
}
},
@ -67,7 +71,7 @@ module.exports = {
]
},
resolve: {
extensions: ['.js', '.json', '.less'],
extensions: ['.js', '.json', '.less', '.wasm'],
alias: {
'stremio-common': path.resolve(__dirname, 'src/common'),
'stremio-routes': path.resolve(__dirname, 'src/routes'),

View file

@ -366,6 +366,13 @@
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-dynamic-import@7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz#69c159ffaf4998122161ad8ebc5e6d1f55df8612"
integrity sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-flow@^7.0.0", "@babel/plugin-syntax-flow@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz#a765f061f803bc48f240c26f8747faf97c26bf7c"
@ -1426,9 +1433,9 @@
loader-utils "^1.1.0"
"@types/node@*":
version "11.13.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.0.tgz#b0df8d6ef9b5001b2be3a94d909ce3c29a80f9e1"
integrity sha512-rx29MMkRdVmzunmiA4lzBYJNnXsW/PhG4kMBy2ATsYaDjGGR75dCFEVVROKpNwlVdcUX3xxlghKQOeDPBJobng==
version "11.13.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.2.tgz#dc85dde46aa8740bb4aed54b8104250f8f849503"
integrity sha512-HOtU5KqROKT7qX/itKHuTtt5fV0iXbheQvrgbLNXFJQBY/eh+VS5vmmTAVlo3qIGMsypm0G4N1t2AXjy1ZicaQ==
"@types/q@^1.5.1":
version "1.5.2"
@ -3225,7 +3232,7 @@ date-now@^0.1.4:
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
integrity sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=
debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.6:
debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.6:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==
@ -5709,11 +5716,11 @@ nanomatch@^1.2.9:
to-regex "^3.0.1"
needle@^2.2.1:
version "2.2.4"
resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.4.tgz#51931bff82533b1928b7d1d69e01f1b00ffd2a4e"
integrity sha512-HyoqEb4wr/rsoaIDfTH2aVL9nWtQqba2/HvMv+++m8u0dz808MaagKILxtfeSN7QU7nvbQ79zk3vYOJp9zsNEA==
version "2.3.0"
resolved "https://registry.yarnpkg.com/needle/-/needle-2.3.0.tgz#ce3fea21197267bacb310705a7bbe24f2a3a3492"
integrity sha512-QBZu7aAFR0522EyaXZM0FZ9GLpq6lvQ3uq8gteiDUp7wKdy0lSd2hPlgFwVuW1CBkfEs9PfDQsQzZghLs/psdg==
dependencies:
debug "^2.1.2"
debug "^4.1.0"
iconv-lite "^0.4.4"
sax "^1.2.4"
@ -5810,9 +5817,9 @@ node-pre-gyp@^0.10.0:
tar "^4"
node-releases@^1.0.0-alpha.11, node-releases@^1.1.13:
version "1.1.13"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.13.tgz#8c03296b5ae60c08e2ff4f8f22ae45bd2f210083"
integrity sha512-fKZGviSXR6YvVPyc011NHuJDSD8gFQvLPmc2d2V3BS4gr52ycyQ1Xzs7a8B+Ax3Ni/W+5h1h4SqmzeoA8WZRmA==
version "1.1.14"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.14.tgz#f1f41c83cac82caebd6739e6313d56b3b09c9189"
integrity sha512-d58EpVZRhQE60kWiWUaaPlK9dyC4zg3ZoMcHcky2d4hDksyQj0rUozwInOl0C66mBsqo01Tuns8AvxnL5S7PKg==
dependencies:
semver "^5.3.0"
@ -7494,9 +7501,9 @@ source-map-resolve@^0.5.0:
urix "^0.1.0"
source-map-support@~0.5.10:
version "0.5.11"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.11.tgz#efac2ce0800355d026326a0ca23e162aeac9a4e2"
integrity sha512-//sajEx/fGL3iw6fltKMdPvy8kL3kJ2O3iuYlRoT3k9Kb4BjOoZ+BZzaNHeuaruSt+Kf3Zk9tnfAQg9/AJqUVQ==
version "0.5.12"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.12.tgz#b4f3b10d51857a5af0138d3ce8003b201613d599"
integrity sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"
@ -7654,6 +7661,10 @@ stream-shift@^1.0.0:
version "1.2.3"
resolved "git+ssh://git@github.com/stremio/stremio-json-data.git#cdf6c4a4caca8c66c7420bbf253bb7897e0ebc51"
"stremio-state-container-web@git+ssh://git@github.com/stremio/stremio-state-container-web.git#f98635fb004a95d894eafd23ac0c6a2c0803cddd":
version "0.1.0"
resolved "git+ssh://git@github.com/stremio/stremio-state-container-web.git#f98635fb004a95d894eafd23ac0c6a2c0803cddd"
"stremio-translations@git+ssh://git@github.com/Stremio/stremio-translations.git#v1.41.0":
version "1.41.0"
resolved "git+ssh://git@github.com/Stremio/stremio-translations.git#bef5f0f86329a6393222ac197f6cc6b4d3367ca4"