From c8565668c3413a4ed02ca2e99b7314a9fe2d84f5 Mon Sep 17 00:00:00 2001 From: Dong Nguyen Date: Tue, 14 Jun 2016 17:26:16 +0700 Subject: [PATCH 1/2] Add snyk integration --- .snyk | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.snyk b/.snyk index 2874dc88..19dad001 100644 --- a/.snyk +++ b/.snyk @@ -1,2 +1,3 @@ version: v1.5.0 ignore: {} +patch: {} diff --git a/package.json b/package.json index b8baf4d5..c1c81771 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "node": ">= 6.0" }, "scripts": { - "test": "./node_modules/.bin/tape test/start.js | tap-spec", + "test": "snyk test && ./node_modules/.bin/tape test/start.js | tap-spec", "coverage": "./node_modules/.bin/nyc tape test/start.js | tap-spec", "report": "npm run coverage && ./node_modules/.bin/nyc report --reporter=lcov", "coveralls": "npm run report && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", @@ -55,4 +55,4 @@ "directories": { "test": "test" } -} +} \ No newline at end of file From 35692136ee4d4c26acb3ef9648d848b3ee37b3c9 Mon Sep 17 00:00:00 2001 From: Dong Nguyen Date: Tue, 14 Jun 2016 17:28:08 +0700 Subject: [PATCH 2/2] Update package.json --- package.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c1c81771..a26e39c4 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "node": ">= 6.0" }, "scripts": { - "test": "snyk test && ./node_modules/.bin/tape test/start.js | tap-spec", + "test": "./node_modules/.bin/snyk test && ./node_modules/.bin/tape test/start.js | tap-spec", "coverage": "./node_modules/.bin/nyc tape test/start.js | tap-spec", "report": "npm run coverage && ./node_modules/.bin/nyc report --reporter=lcov", "coveralls": "npm run report && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", @@ -39,10 +39,7 @@ "article", "extractor", "parser", - "cleaner", - "crawler", "readability", - "oembed", "util" ], "license": "MIT", @@ -55,4 +52,4 @@ "directories": { "test": "test" } -} \ No newline at end of file +}