Initial commit

This commit is contained in:
NikolaBorislavovHristov 2018-06-04 15:56:17 +03:00
commit 2345d76d92
9 changed files with 4698 additions and 0 deletions

3
.babelrc Normal file
View file

@ -0,0 +1,3 @@
{
"presets": ["env", "react"]
}

10
.gitignore vendored Executable file
View file

@ -0,0 +1,10 @@
node_modules
package-lock.json
# production
build
dist
# misc
.DS_Store
npm-debug.log

20
README.md Normal file
View file

@ -0,0 +1,20 @@
Stremio - the next generation media center
================
Stremio is a full-featured media center designed to help you organize and stream your favorite videos, movies and TV series. It will notify you for new episodes / movies, and allow you to find new content through Discover.
Stremio allows, using it's [Add-ons system](http://github.com/Stremio/stremio-addons), to play movies, TV series and channels instantly.
This repository can be built to two distributable products:
1. Stremio for the web (currently at http://app.strem.io)
2. Stremio for Desktop (Windows, Linux, OS X)
Copyright
=========
![Linvo Logo](https://launchrock-assets.s3.amazonaws.com/logo-files/8FZQMF2G_1388280616887.png)
Legal entity: Smart Code LTD.
UIN 203358507

27
package.json Executable file
View file

@ -0,0 +1,27 @@
{
"name": "stremio",
"displayName": "Stremio",
"version": "5.0.0",
"publisher": "Smart Code Ltd.",
"website": "http://www.strem.io",
"private": true,
"scripts": {
"start": "webpack-dev-server --mode development --open --hot",
"build": "webpack --mode production"
},
"dependencies": {
"react": "16.4.0",
"react-dom": "16.4.0"
},
"devDependencies": {
"babel-core": "6.26.3",
"babel-loader": "7.1.4",
"babel-preset-env": "1.7.0",
"babel-preset-react": "6.24.1",
"html-webpack-plugin": "3.2.0",
"uglifyjs-webpack-plugin": "1.2.5",
"webpack": "4.10.2",
"webpack-cli": "3.0.1",
"webpack-dev-server": "3.1.4"
}
}

13
src/app.js Normal file
View file

@ -0,0 +1,13 @@
import React, { Component } from 'react';
class App extends Component {
render() {
return (
<div>
<span>Stremio</span>
</div>
);
}
}
export default App;

12
src/index.html Executable file
View file

@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<title>Stremio - All you can watch!!</title>
</head>
<body>
<div id="root"></div>
</body>
</html>

5
src/index.js Executable file
View file

@ -0,0 +1,5 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './app';
ReactDOM.render(<App />, document.getElementById('root'));

39
webpack.config.js Normal file
View file

@ -0,0 +1,39 @@
const path = require('path');
const HtmlWebPackPlugin = require('html-webpack-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
module.exports = {
entry: './src/index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js'
},
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader'
}
}
]
},
plugins: [
new HtmlWebPackPlugin({
template: './src/index.html'
}),
new UglifyJsPlugin({
test: /\.js$/,
uglifyOptions: {
mangle: true,
output: {
ecma: 5,
comments: false,
beautify: false,
wrap_iife: true
}
}
})
]
};

4569
yarn.lock Normal file

File diff suppressed because it is too large Load diff