Skip to content

Commit

Permalink
fix: add config for cli execution
Browse files Browse the repository at this point in the history
  • Loading branch information
dayton-dep authored Sep 23, 2024
1 parent 3eb4bfc commit a788620
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bin/node-scanner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node
const scanNode = require("../index");

scanNode();
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"description": "An extension of is-my-node-vulnerable package",
"main": "index.js",
"bin": {
"node-scanner": "./bin/node-scanner.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit a788620

Please sign in to comment.