diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c7076a0 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:minimatch:20160620': + - jscs > babel-jscs > babel-core > minimatch: + patched: '2018-10-27T01:39:08.578Z' diff --git a/package.json b/package.json index 76ac43e..cefce45 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,12 @@ "description": "a", "author": "Snyk Ltd.", "dependencies": { - "jscs": "2.11.0" - } + "jscs": "2.11.0", + "snyk": "^1.105.0" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }