Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Installation

Everything else is automatic!

I recommend putting precommit-hook in your project's devDependencies to make sure that anyone who may be contributing to your project will have the hook installed.
I recommend putting prepush-hook in your project's devDependencies to make sure that anyone who may be contributing to your project will have the hook installed.

```
{
Expand Down Expand Up @@ -56,7 +56,7 @@ OR
{
"name": "your_project",
"description": "just an example",
"precommit": ["test"]
"prepush": ["test"]
}
```

Expand Down Expand Up @@ -97,7 +97,7 @@ You may configure what scripts will be run by the hook, by passing an array of s
"validate": "./command/to/run",
"test": "./other/command"
},
"precommit": ["lint", "test"]
"prepush": ["lint", "test"]
}
```

Expand Down