summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-11-11 15:46:12 +0100
committerPierre Ossman <ossman@cendio.se>2019-11-12 14:05:55 +0100
commit0dd439a87480659859ecc43b46d72342046ae693 (patch)
tree8551454a8f6023e114df23aa60a092bc6a6ca843 /package.json
parentb88a92afe8a4c2415e1827c2422eeb53025e55c3 (diff)
downloadnovnc-0dd439a87480659859ecc43b46d72342046ae693.tar.gz
Upgrade to latest babel
There has been a lot of renaming and restructuring in babel, so we need to modify our code to handle the latest version. We also need to adjust the way we build our babel worker as babel itself no longer runs in older browsers such as Internet Explorer.
Diffstat (limited to 'package.json')
-rw-r--r--package.json19
1 files changed, 10 insertions, 9 deletions
diff --git a/package.json b/package.json
index 12b6323..8ef1ccf 100644
--- a/package.json
+++ b/package.json
@@ -40,17 +40,18 @@
},
"homepage": "https://github.com/novnc/noVNC",
"devDependencies": {
- "babel-core": "*",
- "babel-plugin-add-module-exports": "*",
+ "@babel/core": "*",
+ "@babel/plugin-syntax-dynamic-import": "*",
+ "@babel/plugin-transform-modules-amd": "*",
+ "@babel/plugin-transform-modules-commonjs": "*",
+ "@babel/plugin-transform-modules-systemjs": "*",
+ "@babel/plugin-transform-modules-umd": "*",
+ "@babel/preset-env": "*",
+ "@babel/cli": "*",
"babel-plugin-import-redirect": "*",
- "babel-plugin-syntax-dynamic-import": "*",
- "babel-plugin-transform-es2015-modules-amd": "*",
- "babel-plugin-transform-es2015-modules-commonjs": "*",
- "babel-plugin-transform-es2015-modules-systemjs": "*",
- "babel-plugin-transform-es2015-modules-umd": "*",
- "babel-preset-es2015": "*",
- "babelify": "*",
"browserify": "*",
+ "babelify": "*",
+ "core-js": "*",
"chai": "*",
"commander": "*",
"es-module-loader": "*",