diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ed182be --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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:hoek:20180212': + - gulp-sass > node-sass > request > hawk > hoek: + patched: '2018-06-20T02:36:56.576Z' + - gulp-sass > node-sass > request > hawk > boom > hoek: + patched: '2018-06-20T02:36:56.576Z' + - gulp-sass > node-sass > request > hawk > sntp > hoek: + patched: '2018-06-20T02:36:56.576Z' + - gulp-sass > node-sass > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T02:36:56.576Z' + - gulp-sass > node-sass > node-gyp > request > hawk > hoek: + patched: '2018-06-20T02:36:56.576Z' + - gulp-sass > node-sass > node-gyp > request > hawk > boom > hoek: + patched: '2018-06-20T02:36:56.576Z' + - gulp-sass > node-sass > node-gyp > request > hawk > sntp > hoek: + patched: '2018-06-20T02:36:56.576Z' + - gulp-sass > node-sass > node-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T02:36:56.576Z' diff --git a/package.json b/package.json index 0fe407a..e382f8a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ }, "scripts": { "lint": "gulp eslint stylelint", - "prepush-msg": "echo 'Running lint task...' && exit 0" + "prepush-msg": "echo 'Running lint task...' && exit 0", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "pre-push": [ "prepush-msg", @@ -90,6 +92,8 @@ "vinyl-buffer": "^1.0.0", "vinyl-source-stream": "^1.1.0", "watchify": "^3.9.0", - "yargs": "^8.0.2" - } + "yargs": "^8.0.2", + "snyk": "^1.83.0" + }, + "snyk": true }