Skip to content

Commit 29704bd

Browse files
committed
add npm scanner deploy script
1 parent 8b88b87 commit 29704bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
3636
"deploy:npm": "npm publish",
3737
"deploy:docker": "docker build -t mathiscode/codebase-scanner:latest . && docker push mathiscode/codebase-scanner:latest",
38+
"deploy:docker:scan-npm": "npm run build:scan:npm:docker && docker push mathiscode/codebase-scanner-scan-npm-registry:latest",
3839
"scan:npm": "node utils/scan-npm-registry.mjs",
3940
"scan:npm:docker": "docker run --rm -v \"$(pwd)/codebase-scanner-npm-registry-results:/tmp/codebase-scanner-npm-registry-results\" mathiscode/codebase-scanner-scan-npm-registry",
4041
"build:scan:npm:docker": "docker build -t mathiscode/codebase-scanner-scan-npm-registry -f Dockerfile.scan-npm-registry .",

0 commit comments

Comments
 (0)