From 8ad9bfa72f9355af0af720f90a805906193b0341 Mon Sep 17 00:00:00 2001 From: myfunc Date: Wed, 10 Jul 2024 09:09:46 +0000 Subject: [PATCH] Add snyk monitor --- .gitignore | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3d9317e..11f3542 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules dist +snyk.monitor.sh package-lock.json *.tgz dev.db \ No newline at end of file diff --git a/package.json b/package.json index a44b4a2..706ffc9 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "build": "tsc" + "build": "tsc", + "postpublish": "sh ./snyk.monitor.sh" }, "peerDependencies": { "@prisma/client": ">=5.0.0",