UNPKG

git-local-info-ts

Version:

Retrieve current sha, branch name, repository from a git repo.

60 lines (59 loc) 1.37 kB
{ "name": "git-local-info-ts", "version": "2.0.1", "description": "Retrieve current sha, branch name, repository from a git repo.", "main": "index.js", "module": "./lib", "types": "./lib/index.d.ts", "files": [ "lib/**/*.{js,d.ts}", "index.js" ], "scripts": { "prepublishOnly": "yarn build", "precommit": "run lint-staged", "lint-staged": "lint-staged", "clean": "rimraf ./lib", "build": "tsc", "test": "vitest --no-threads", "lint": "tslint --project ./tsconfig.json", "format": "prettier --write \"src/**/*.ts\"" }, "repository": { "type": "git", "url": "https://github.com/yorch/git-local-info.git" }, "keywords": [ "git", "gitinfo" ], "author": "ycjcl868", "license": "MIT", "bugs": { "url": "https://github.com/yorch/git-local-info/issues" }, "lint-staged": { "linters": { "src/**/*.ts": "yarn lint" } }, "homepage": "https://github.com/yorch/git-local-info", "devDependencies": { "@types/ini": "^1.3.31", "@types/node": "^12.20.55", "lint-staged": "^13.2.3", "prettier": "^3.0.0", "rimraf": "^5.0.1", "ts-node": "^10.9.1", "tslint": "^6.1.3", "typescript": "^5.1.6", "vitest": "^0.33.0" }, "engines": { "node": ">= 16.0" }, "dependencies": { "ini": "^4.1.1" }, "packageManager": "yarn@3.6.1" }