Skip to content

Commit 43efd4d

Browse files
committed
v0.1.0
1 parent 2d6ccf9 commit 43efd4d

55 files changed

Lines changed: 573 additions & 491 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ typings/
6565

6666
# Finalized files
6767
dist/
68+
build/
6869
.idea/
6970
yarn.lock
7071
package-lock.json

package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "keyforge-twitch-extension",
3-
"version": "0.0.2",
3+
"version": "0.1.0",
44
"description": "",
55
"main": "",
66
"scripts": {
77
"test": "jest",
88
"build": "webpack --mode production",
99
"start": "webpack-dev-server --mode development",
1010
"cert": "./bin/generate_cert.sh server",
11-
"host": "webpack-dev-server --mode development --devrig"
11+
"zip": "cd build/ && bestzip ../../Downloads/$npm_package_name-$npm_package_version.zip *",
12+
"package": "npm run build && npm run zip"
1213
},
1314
"keywords": [],
1415
"author": "",
@@ -35,15 +36,21 @@
3536
"webpack-dev-server": "^3.1.14"
3637
},
3738
"dependencies": {
38-
"@material-ui/core": "^3.9.1",
39-
"@material-ui/icons": "^3.0.2",
4039
"axios": "^0.18.0",
40+
"bestzip": "^2.1.2",
41+
"bootstrap": "^4.3.1",
4142
"classnames": "^2.2.6",
43+
"dotenv": "^6.2.0",
44+
"firebase": "^5.8.3",
4245
"jsonwebtoken": "^8.3.0",
4346
"lodash-es": "^4.17.11",
4447
"node-fetch": "^2.3.0",
4548
"react": "^16.7.0",
46-
"react-dom": "^16.7.0"
49+
"react-dom": "^16.7.0",
50+
"react-redux": "^6.0.0",
51+
"reactstrap": "^7.1.0",
52+
"redux": "^4.0.1",
53+
"redux-thunk": "^2.3.0"
4754
},
4855
"jest": {
4956
"setupFiles": [

public/config.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>
77
<title>Sample Config Page</title>
88
</head>
9-
<body>
9+
<body style="background: transparent">
1010
<div id="root"></div>
1111
<noscript>
1212
You need to enable JavaScript to run this app.

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>
77
<title>React Starter</title>
88
</head>
9-
<body>
9+
<body style="background: transparent">
1010
<div id="root"></div>
1111
<noscript>
1212
You need to enable JavaScript to run this app.
1313
</noscript>
14-
<script src="../dist/bundle.js"></script>
14+
<script src="../build/bundle.js"></script>
1515
</body>
1616
</html>

public/live_config.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>
77
<title>Sample Config Page</title>
88
</head>
9-
<body>
9+
<body style="background: transparent">
1010
<div id="root"></div>
1111
<noscript>
1212
You need to enable JavaScript to run this app.

public/mobile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>
77
<title>Sample Config Page</title>
88
</head>
9-
<body>
9+
<body style="background: transparent">
1010
<div id="root"></div>
1111
<noscript>
1212
You need to enable JavaScript to run this app.

public/panel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<title>React Starter</title>
1010
</head>
11-
<body>
11+
<body style="background: transparent">
1212
<div id="root"></div>
1313
<noscript>
1414
You need to enable JavaScript to run this app.

public/video_component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>
77
<title>React Starter</title>
88
</head>
9-
<body>
9+
<body style="background: transparent">
1010
<div id="root"></div>
1111
<noscript>
1212
You need to enable JavaScript to run this app.

public/video_overlay.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>
77
<title>React Starter</title>
88
</head>
9-
<body>
10-
<div id="root"></div>
9+
<body style="background: transparent">
10+
<div style="text-align: -webkit-right;" id="root"></div>
1111
<noscript>
1212
You need to enable JavaScript to run this app.
1313
</noscript>

src/Config.js

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
import React from "react"
2-
import ReactDOM from "react-dom"
3-
import LiveConfigPage from "./components/LiveConfigPage/LiveConfigPage"
1+
import React from 'react';
2+
import ReactDOM from 'react-dom';
3+
import {Provider} from 'react-redux';
4+
import {createStore, applyMiddleware} from 'redux';
5+
import thunk from 'redux-thunk';
6+
import './index.css';
7+
import 'bootstrap/dist/css/bootstrap.min.css';
8+
import allReducers from './redux/reducers';
9+
import {App} from './components/index';
10+
11+
export const store = createStore(allReducers, {}, applyMiddleware(thunk));
412

513
ReactDOM.render(
6-
<LiveConfigPage/>,
7-
document.getElementById("root")
8-
);
14+
<Provider store={store}>
15+
<App type='config'/>
16+
</Provider>,
17+
document.getElementById('root')
18+
);

0 commit comments

Comments
 (0)