Upgrade to Babel 7
Also, update to webpack 4 and add support for dynamic import() and import.meta in ?module mode. Fixes #108 Fixes #151
This commit is contained in:
31
package.json
31
package.json
@ -7,13 +7,15 @@
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-plugin-syntax-export-extensions": "^6.13.0",
|
||||
"babel-plugin-transform-react-remove-prop-types": "^0.4.14",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-stage-2": "^6.24.1",
|
||||
"babel-register": "^6.26.0",
|
||||
"@babel/core": "^7.2.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.2.1",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/plugin-syntax-export-default-from": "^7.2.0",
|
||||
"@babel/plugin-syntax-export-namespace-from": "^7.2.0",
|
||||
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
||||
"@babel/preset-env": "^7.2.0",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@babel/register": "^7.0.0",
|
||||
"body-parser": "^1.18.2",
|
||||
"cheerio": "^1.0.0-rc.2",
|
||||
"cors": "^2.8.1",
|
||||
@ -47,25 +49,26 @@
|
||||
"whatwg-url": "^6.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-eslint": "^8.0.3",
|
||||
"babel-jest": "^23.4.2",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-loader": "^8.0.4",
|
||||
"css-loader": "0.26.1",
|
||||
"errorhandler": "^1.5.0",
|
||||
"eslint": "^4.13.1",
|
||||
"eslint-plugin-import": "^2.8.0",
|
||||
"eslint-plugin-react": "^7.5.1",
|
||||
"extract-text-webpack-plugin": "^3.0.2",
|
||||
"file-loader": "0.10.0",
|
||||
"html-loader": "^0.5.1",
|
||||
"file-loader": "^2.0.0",
|
||||
"html-loader": "^0.5.5",
|
||||
"jest": "^22.4.4",
|
||||
"markdown-loader": "^2.0.1",
|
||||
"mini-css-extract-plugin": "^0.4.5",
|
||||
"nodemon": "^1.18.3",
|
||||
"style-loader": "0.13.1",
|
||||
"supertest": "^3.0.0",
|
||||
"url-loader": "0.5.7",
|
||||
"webpack": "^3.10.0",
|
||||
"webpack-dev-server": "^2.11.1",
|
||||
"url-loader": "^1.1.2",
|
||||
"webpack": "^4.27.1",
|
||||
"webpack-dev-server": "^3.1.10",
|
||||
"whatwg-fetch": "2.0.2"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user