Skip to content

Commit

Permalink
Update a couple dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Hoyt committed Jul 18, 2018
1 parent de61558 commit 8de1e02
Show file tree
Hide file tree
Showing 4 changed files with 2,156 additions and 2,414 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"clean": "rm -rf build",
"dev": "cross-env NODE_ENV=development webpack-dev-server --inline --hot --progress",
"start": "serve build -s -c 1",
"start": "serve build -c 1",
"prestart": "npm run build",
"build": "cross-env NODE_ENV=production webpack --progress",
"prebuild": "npm run clean && mkdirp build",
Expand Down Expand Up @@ -70,7 +70,7 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^22.2.1",
"json-loader": "^0.5.4",
"less": "^3.0.0-alpha.3",
"less": "^3.7.1",
"less-loader": "^4.0.3",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
Expand Down Expand Up @@ -102,7 +102,7 @@
"query-string": "^5.0.1",
"react-codemirror2": "^4.0.0",
"react-router-dom": "^4.2.2",
"serve": "^6.0.0",
"serve": "^9.2.0",
"whatwg-fetch": "^2.0.3"
}
}
7 changes: 7 additions & 0 deletions serve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cleanUrls": false,
"rewrites": [
{ "source": "/", "destination": "/index.html" },
{ "source": "/docs", "destination": "/docs/index.html" }
]
}
3 changes: 3 additions & 0 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ module.exports = [
template: 'index.html',
chunks: ['cmp']
}),
new CopyWebpackPlugin([
{ from: '../serve.json', to: '.' }
]),
]).concat(ENV === 'production' ? uglifyPlugin : []),
},
// Docs config
Expand Down
Loading

0 comments on commit 8de1e02

Please sign in to comment.