Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Oct 22, 2017
1 parent 300da75 commit e620352
Show file tree
Hide file tree
Showing 3 changed files with 294 additions and 73 deletions.
7 changes: 3 additions & 4 deletions examples/react-hot-boilerplate/package.json
Expand Up @@ -4,7 +4,6 @@
"description": "Boilerplate for ReactJS project with hot code reloading",
"scripts": {
"start": "webpack-dev-server",
"lint": "eslint src",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production webpack -p --config webpack.config.production.js",
"postbuild": "copyfiles index.html dist"
Expand Down Expand Up @@ -44,11 +43,11 @@
"tslint": "^5.8.0",
"tslint-react": "^3.2.0",
"typescript": "^2.5.3",
"webpack": "^2.2.0",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.2.0"
},
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
"react": "^16.0.0",
"react-dom": "^16.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/react-hot-boilerplate/src/Counter.tsx
Expand Up @@ -4,7 +4,7 @@ export default class Counter extends React.Component<{}, { counter: number }> {
interval: number;
constructor(props: {}) {
super(props);
this.state = { counter: 1080 };
this.state = { counter: 0 };
}

componentDidMount() {
Expand Down

0 comments on commit e620352

Please sign in to comment.