Skip to content

Commit

Permalink
[Snyk] Fix for 1 vulnerable dependencies (#324)
Browse files Browse the repository at this point in the history
* fix: package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-SERVE-174738

* switch to sirv-cli

* Update package.json
  • Loading branch information
snyk-bot authored and developit committed May 30, 2019
1 parent 554895a commit 80f796d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Ready-to-go Preact starter project powered by webpack.",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --inline --hot --progress",
"start": "serve build -s -c 1",
"start": "sirv build -s -q -e",
"prestart": "npm run build",
"build": "cross-env NODE_ENV=production webpack --progress",
"prebuild": "mkdirp build && ncp src/assets build/assets",
Expand Down Expand Up @@ -94,6 +94,6 @@
"preact-router": "^2.5.1",
"promise-polyfill": "^7.0.1",
"proptypes": "^1.0.0",
"serve": "^6.0.0"
"sirv-cli": "^0.4.2"
}
}

0 comments on commit 80f796d

Please sign in to comment.