Add pre-install npm dependency guard

This commit is contained in:
2026-08-27 12:46:55 +01:00
parent 7574b31b8c
commit f28b9ee87d
22 changed files with 1321 additions and 137 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"name": "dependency-guard",
"version": "0.1.0",
"description": "Pre-install supply-chain checks for npm projects",
"type": "module",
"engines": {
"node": ">=20"
},
"bin": {
"dependency-guard": "bin/dependency-guard.js"
},
"scripts": {
"test": "node --test test/*.test.js",
"check": "node --check bin/dependency-guard.js && node --check lib/*.js && node --test test/*.test.js"
},
"license": "MIT"
}