Skip to content

Commit

Permalink
fix async example
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee committed Jan 10, 2019
1 parent f3ca428 commit 6abd74f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 19 deletions.
3 changes: 1 addition & 2 deletions examples/async/.babelrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = {
plugins: ['@babel/plugin-transform-runtime'],
presets: ['@babel/preset-env'],
presets: [['@babel/preset-env', {targets: {node: 'current'}}]],
};
3 changes: 0 additions & 3 deletions examples/async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"version": "0.0.0",
"name": "example-async",
"devDependencies": {
"@babel/plugin-transform-runtime": "*",
"@babel/preset-env": "*",
"@babel/runtime": "*",
"babel-jest": "*",
"jest": "*"
},
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.0.0",
"ansi-regex": "^4.0.0",
"ansi-styles": "^3.2.0",
"babel-eslint": "^9.0.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/babel-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"main": "build/index.js",
"dependencies": {
"babel-plugin-istanbul": "^5.1.0",
"babel-preset-jest": "^23.2.0",
"@babel/plugin-transform-runtime": "^7.2.0"
"babel-preset-jest": "^23.2.0"
},
"devDependencies": {
"@babel/core": "^7.1.0"
Expand Down
12 changes: 1 addition & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -630,16 +630,6 @@
dependencies:
regenerator-transform "^0.13.3"

"@babel/plugin-transform-runtime@*", "@babel/plugin-transform-runtime@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.2.0.tgz#566bc43f7d0aedc880eaddbd29168d0f248966ea"
integrity sha512-jIgkljDdq4RYDnJyQsiWbdvGeei/0MOTtSHKO/rfbd/mXBxNpdlulMx49L0HQ4pug1fXannxoqCI+fYSle9eSw==
dependencies:
"@babel/helper-module-imports" "^7.0.0"
"@babel/helper-plugin-utils" "^7.0.0"
resolve "^1.8.1"
semver "^5.5.1"

"@babel/plugin-transform-runtime@^7.0.0":
version "7.1.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.1.0.tgz#9f76920d42551bb577e2dc594df229b5f7624b63"
Expand Down Expand Up @@ -806,7 +796,7 @@
pirates "^4.0.0"
source-map-support "^0.5.9"

"@babel/runtime@*", "@babel/runtime@^7.0.0":
"@babel/runtime@^7.0.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.2.0.tgz#b03e42eeddf5898e00646e4c840fa07ba8dcad7f"
integrity sha512-oouEibCbHMVdZSDlJBO6bZmID/zA/G/Qx3H1d3rSNPTD+L8UNKvCat7aKWSJ74zYbm5zWGh0GQN0hKj8zYFTCg==
Expand Down

0 comments on commit 6abd74f

Please sign in to comment.