Skip to content

Commit

Permalink
Update packages in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffijoe committed Aug 8, 2019
1 parent 0d5fa00 commit 377b055
Show file tree
Hide file tree
Showing 5 changed files with 2,031 additions and 1,262 deletions.
21 changes: 19 additions & 2 deletions examples/babel/.babelrc
@@ -1,4 +1,21 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-decorators-legacy"]
"presets": [
"@babel/preset-env"
],
"plugins": [
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions"
]
}
17 changes: 13 additions & 4 deletions examples/babel/package.json
Expand Up @@ -13,9 +13,18 @@
"moment": "^2.21.0"
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-2": "^6.22.0"
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/node": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.0.0"
}
}

0 comments on commit 377b055

Please sign in to comment.