From dfc7c59fb60f3e3328828732d931f46eacb8e8d4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 29 Jan 2019 09:49:16 +0000 Subject: [PATCH] fix: configure Snyk protect to enable patches --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 620a543..0c9db1d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "npm": "latest", "npm-check": "5.4.0", "open": "0.0.5", - "snyk": "^1.17.1" + "snyk": "^1.123.0" }, "devDependencies": { "codecov": "2.1.0", @@ -53,7 +53,9 @@ "report": "nyc report --reporter=html", "test:istanbul": "istanbul cover --report html --dir externals/coverage _mocha test/*.js", "test:report": "npm run test && npm run report", - "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov" + "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "snyk": true }