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

is-git-repository

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-git-repository - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

.eslintrc.js

63

package.json
{
"name": "is-git-repository",
"version": "1.1.1",
"version": "2.0.0",
"description": "A tool to check if a specific path is a git repository",
"main": "build.js",
"main": "./dest/index.js",
"types": "./dest/index.d.ts",
"scripts": {
"pretest": "npm run lint",
"test": "nyc ava",
"lint": "eslint index.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm run babel",
"babel": "babel index.js -o build.js",
"prepush": "npm test"
"test": "jest",
"lint": "eslint index.ts test.spec.ts",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"build": "rimraf dest && tsc && babel dest -d dest",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-push": "npm test",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
},
"repository": {

@@ -32,23 +42,26 @@ "type": "git",

},
"ava": {
"require": "babel-register",
"babel": "inherit"
},
"homepage": "https://github.com/JPeer264/node-is-git-repository#readme",
"dependencies": {
"execa": "^0.6.1",
"path-is-absolute": "^1.0.1"
"execa": "^4.0.3",
"is-absolute": "^1.0.0"
},
"devDependencies": {
"ava": "^0.18.2",
"babel-cli": "^6.24.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.2.2",
"coveralls": "^2.12.0",
"eslint": "^3.18.0",
"eslint-config-airbnb-base": "^11.1.1",
"eslint-plugin-import": "^2.2.0",
"husky": "^0.13.2",
"nyc": "^10.1.2"
"@babel/cli": "^7.10.4",
"@types/is-absolute": "^1.0.0",
"@types/jest": "^26.0.4",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"babel-plugin-add-module-exports": "^1.0.2",
"coveralls": "^3.1.0",
"eslint": "^7.4.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.1",
"typescript": "^3.9.6"
}
}
# is-git-repository
[![Build Status](https://travis-ci.org/JPeer264/node-is-git-repository.svg?branch=master)](https://travis-ci.org/JPeer264/node-is-git-repository) [![Coverage Status](https://coveralls.io/repos/github/JPeer264/node-is-git-repository/badge.svg?branch=master)](https://coveralls.io/github/JPeer264/node-is-git-repository?branch=master)
[![Build Status](https://travis-ci.com/JPeer264/node-is-git-repository.svg?branch=main)](https://travis-ci.com/JPeer264/node-is-git-repository)
[![Build status](https://ci.appveyor.com/api/projects/status/candvk0h292r03q2?svg=true)](https://ci.appveyor.com/project/JPeer264/node-is-git-repository)
[![Coverage Status](https://coveralls.io/repos/github/JPeer264/node-is-git-repository/badge.svg?branch=main)](https://coveralls.io/github/JPeer264/node-is-git-repository?branch=main)

@@ -5,0 +7,0 @@ Checks synchronously if a specific directory is a git repository

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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