Skip to content

Commit

Permalink
Switch examples to Babel 7, Jest 23, and Webpack 4 (#3155)
Browse files Browse the repository at this point in the history
* Update async example

* Update counter example

* Update real-world example

* Update shopping-cart example

* Update todomvc example

* Update todos example

* Update todos-flow example

* Update todos-with-undo example

* Update tree-view example

* Fix warnings

* Switch test environments to node

* Ignore empty tests

* Update snapshots
  • Loading branch information
Timer authored and timdorr committed Oct 1, 2018
1 parent 9b86eda commit c0abc77
Show file tree
Hide file tree
Showing 30 changed files with 112,828 additions and 78,379 deletions.
21,363 changes: 12,704 additions & 8,659 deletions examples/async/package-lock.json

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions examples/async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"react-scripts": "^1.1.4"
"react-scripts": "^2.0.2"
},
"dependencies": {
"prop-types": "^15.6.1",
Expand All @@ -18,6 +18,12 @@
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"test": "react-scripts test"
}
"test": "react-scripts test --env=node --passWithNoTests"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
Loading

0 comments on commit c0abc77

Please sign in to comment.