git-origin-check
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "git-origin-check", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Validates Git origin is set to correct host.", | ||
@@ -9,3 +9,3 @@ "bin": { | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "./node_modules/.bin/mocha ./test" | ||
}, | ||
@@ -30,3 +30,7 @@ "repository": { | ||
"git-url-parse": "^11.4.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"mocha": "^8.2.1" | ||
} | ||
} |
# git-origin-check | ||
[![NPM](https://nodei.co/npm/git-origin-check.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/git-origin-check/) | ||
[![Build Status](https://travis-ci.org/Cox-Automotive/git-origin-check.svg?branch=master)](https://travis-ci.org/Cox-Automotive/git-origin-check) | ||
Validates Git origin is set to correct host. When used in combination with Husky as a `pre-push` hook it enables users to ensure code is not inadvertently pushed to the wrong Github instance. | ||
@@ -9,3 +14,3 @@ | ||
npm install git-origin-check | ||
git-origin check github.com | ||
git-origin-check github.com | ||
``` |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
3879
7
38
0
16
2