diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..a8a0d53 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - normalizr > lodash: + patched: '2020-05-05T05:58:49.352Z' diff --git a/package.json b/package.json index c7695f9..64bdc3c 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,9 @@ "test:dev": "npm run test -- --watch", "deploy": "better-npm-run deploy", "deploy:dev": "better-npm-run deploy:dev", - "deploy:prod": "better-npm-run deploy:prod" + "deploy:prod": "better-npm-run deploy:prod", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "betterScripts": { "compile": { @@ -88,7 +90,8 @@ "vuex-actions": "^1.1.1", "vuex-localstorage": "^0.3.0", "vuex-promise": "^2.0.0-rc.3", - "vuex-router-sync": "^3.0.0" + "vuex-router-sync": "^3.0.0", + "snyk": "^1.317.0" }, "devDependencies": { "better-npm-run": "0.0.9", @@ -113,5 +116,6 @@ "bugs": { "url": "https://github.com/sokis/vue-vuex-starter-kit/issues" }, - "homepage": "https://github.com/sokis/vue-vuex-starter-kit#readme" + "homepage": "https://github.com/sokis/vue-vuex-starter-kit#readme", + "snyk": true }