Merge pull request #507 from outline/jori/webpack-upgrade

Webpack 3 + dynamic Editor loading
This commit is contained in:
Jori Lallo
2018-01-15 13:28:25 -08:00
committed by GitHub
14 changed files with 593 additions and 542 deletions

View File

@@ -5,7 +5,7 @@
"scripts": {
"clean": "rimraf dist",
"build:webpack": "NODE_ENV=production webpack --config webpack.config.prod.js",
"build:analyze": "NODE_ENV=production webpack --config webpack.config.prod.js --json | webpack-bundle-size-analyzer",
"build:analyze": "NODE_ENV=production webpack --config webpack.config.prod.js --json > stats.json",
"build": "npm run clean && npm run build:webpack",
"start": "NODE_ENV=production node index.js",
"dev": "NODE_ENV=development nodemon --watch server index.js",
@@ -64,10 +64,11 @@
"@tommoor/slate-drop-or-paste-images": "^0.8.1",
"aws-sdk": "^2.135.0",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "6.2.5",
"babel-eslint": "^8.1.2",
"babel-loader": "^7.1.2",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-styled-components": "^1.1.7",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
@@ -89,18 +90,17 @@
"debug": "2.2.0",
"dotenv": "^4.0.0",
"emoji-regex": "^6.5.1",
"eslint": "^3.19.0",
"eslint-config-react-app": "^0.6.2",
"eslint-import-resolver-webpack": "^0.3.1",
"eslint-plugin-flowtype": "^2.32.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-prettier": "^2.0.1",
"eslint-plugin-react": "^6.10.3",
"exports-loader": "0.6.3",
"extract-text-webpack-plugin": "1.0.1",
"eslint": "^4.14.0",
"eslint-config-react-app": "^2.0.1",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^7.5.1",
"exports-loader": "^0.6.4",
"extract-text-webpack-plugin": "^3.0.2",
"fbemitter": "^2.1.1",
"file-loader": "0.9.0",
"file-loader": "^1.1.6",
"flow-typed": "^2.1.2",
"fs-extra": "^4.0.2",
"history": "3.0.0",
@@ -128,7 +128,6 @@
"koa-static": "^4.0.1",
"localforage": "^1.5.0",
"lodash": "^4.17.4",
"lodash.orderby": "4.4.0",
"mobx": "^3.1.9",
"mobx-react": "^4.1.8",
"mobx-react-devtools": "^4.2.11",
@@ -182,10 +181,10 @@
"styled-components-breakpoint": "^1.0.1",
"styled-components-grid": "^1.0.0-preview.15",
"styled-normalize": "^2.2.1",
"url-loader": "0.5.7",
"url-loader": "^0.6.2",
"uuid": "2.0.2",
"validator": "5.2.0",
"webpack": "1.13.2"
"webpack": "3.10.0"
},
"devDependencies": {
"babel-jest": "22",