diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..54bbe9c --- /dev/null +++ b/.snyk @@ -0,0 +1,6 @@ +version: v1.5.0 +ignore: {} +patch: + 'npm:minimatch:20160620': + - imgur > glob > minimatch: + patched: '2016-09-28T16:23:53.661Z' diff --git a/package.json b/package.json index 4da8249..db6b71e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "prebuild": "npm run lint -s && npm run clean -s", "build": "babel src --out-dir lib --source-maps", "lint": "eslint src", - "clean": "rimraf lib" + "clean": "rimraf lib", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "engines": { "node": ">=4" @@ -34,7 +36,8 @@ "imgur": "^0.1.7", "koa": "^1.1.2", "koa-router": "^5.3.0", - "uuid": "^2.0.1" + "uuid": "^2.0.1", + "snyk": "^1.19.1" }, "devDependencies": { "babel-cli": "^6.4.5", @@ -85,5 +88,6 @@ "syntax-async-functions", "transform-regenerator" ] - } + }, + "snyk": true }