Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@beuluis/hook-cli

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beuluis/hook-cli - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "@beuluis/hook-cli",
"version": "1.0.4",
"version": "1.0.5",
"description": "A small hook cli that can be used with for example husky",

@@ -5,0 +5,0 @@ "bin": {

@@ -43,16 +43,6 @@ [![Contributors][contributors-shield]][contributors-url]

1. Add script to `package.json`
Run commands. For example using the hooks in `.husky`
```json
{
"scripts": {
"hook-cli": "hook-cli"
}
}
```
2. start using the hooks in `.husky`
```bash
npm run hook-cli -- [command] [...]
npx hook-cli [command] [...]
```

@@ -76,23 +66,23 @@

```bash
npm run hook-cli -- checkForVulnerabilities
npx hook-cli checkForVulnerabilities
```
```bash
npm run hook-cli -- checkForVulnerabilities --package-manager yarn
npx hook-cli checkForVulnerabilities --package-manager yarn
```
```bash
npm run hook-cli -- checkForVulnerabilities --audit-level low
npx hook-cli checkForVulnerabilities --audit-level low
```
```bash
npm run hook-cli -- checkForVulnerabilities --no-fail
npx hook-cli checkForVulnerabilities --no-fail
```
```bash
npm run hook-cli -- checkForVulnerabilities --prod
npx hook-clicheckForVulnerabilities --prod
```
```bash
npm run hook-cli -- checkForVulnerabilities -l high -m yarn -n -p
npx hook-cli checkForVulnerabilities -l high -m yarn -n -p
```

@@ -104,5 +94,11 @@

Print help page for command
- Print help page for command
```bash
npx hook-cli [command] --help
```
- Test command during development
```bash
npm run hook-cli -- [command] --help

@@ -109,0 +105,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc