fix: .snyk & package.json to reduce vulnerabilities

The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-450202
This commit is contained in:
2019-07-04 01:01:13 +00:00
parent 3f805aa314
commit 31c71d60b7
2 changed files with 61 additions and 3 deletions
+7 -3
View File
@@ -26,7 +26,8 @@
"vue": "^2.5.22",
"vue-lazyload": "^1.2.6",
"vue-numeral-filter": "^1.1.1",
"vuetify": "^1.4.2"
"vuetify": "^1.4.2",
"snyk": "^1.189.0"
},
"scripts": {
"dev": "NODE_ENV=development node server/index.js",
@@ -38,11 +39,14 @@
"start": "node server/index.js",
"start:ci": "NODE_ENV=production CI=true node server/index.js",
"test:cypress": "cypress run",
"wait": "wait-on http://localhost:3000"
"wait": "wait-on http://localhost:3000",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"devDependencies": {
"cypress": "^3.1.0",
"express-http-proxy": "^1.5.0",
"wait-on": "^3.2.0"
}
},
"snyk": true
}