Update deps and typings, disable hot reload

This commit is contained in:
Danila 2016-09-19 00:13:36 +04:00
parent 5e0b9a8686
commit 0f022c99c7
6 changed files with 2829 additions and 407 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
node_modules/
static/bundle.js
static/bundle.js
.vscode

View file

@ -23,16 +23,16 @@
},
"homepage": "http://mobxjs.github.com/mobx",
"devDependencies": {
"ts-loader": "^0.8.1",
"typescript": "^1.8.2",
"webpack": "^1.9.6",
"webpack-dev-server": "^1.8.2"
"ts-loader": "^0.8.2",
"typescript": "^1.8.10",
"webpack": "^1.13.2",
"webpack-dev-server": "^1.16.1"
},
"dependencies": {
"mobx": "^2.3.2",
"mobx-react": "^3.3.1",
"mobx-react-devtools": "^4.2.0",
"react": "^15.1.0",
"react-dom": "^15.1.0"
"mobx": "^2.5.1",
"mobx-react": "^3.5.6",
"mobx-react-devtools": "^4.2.6",
"react": "^15.3.1",
"react-dom": "^15.3.1"
}
}

View file

@ -4,7 +4,7 @@ var config = require('./webpack.config');
new WebpackDevServer(webpack(config), {
publicPath: config.output.publicPath,
hot: true,
hot: false,
historyApiFallback: true
}).listen(3000, 'localhost', function (err, result) {
if (err) {

View file

@ -6,13 +6,13 @@ import DevTools from 'mobx-react-devtools';
class AppState {
@observable timer = 0;
constructor() {
setInterval(() => {
this.timer += 1;
}, 1000);
}
resetTimer() {
this.timer = 0;
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff