UNPKG

gitnifty

Version:

A robust, promise-based Git utility for Node.js

112 lines (111 loc) 3.21 kB
{ "name": "gitnifty", "displayName": "GitNifty", "version": "1.0.0", "description": "A robust, promise-based Git utility for Node.js", "private": false, "repository": { "type": "git", "url": "git+https://github.com/teneplaysofficial/gitnifty.git" }, "homepage": "https://gitnifty.js.org", "bugs": "https://github.com/teneplaysofficial/gitnifty/issues/new", "author": "Sriman <136729116+TenEplaysOfficial@users.noreply.github.com>", "funding": { "type": "github", "url": "https://github.com/sponsors/teneplaysofficial" }, "license": "Apache-2.0", "keywords": [ "git", "nodejs", "gitnifty", "utility", "promise-based", "node-git", "git-utility", "git-api", "git-commands", "git-helper", "git-automation" ], "files": [ "dist" ], "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "scripts": { "prepare": "husky", "test": "jest", "test:coverage": "jest --coverage", "build": "tsc", "docs": "typedoc index.ts --out docs --tsconfig tsconfig.json --readme README.md --gitRemote origin --gitRevision main --githubPages --cname gitnifty.js.org --name GitNifty --hideGenerator --customFooterHtml \"<div style=\\\"text-align:center; padding:1rem;\\\">Made by <a href=\\\"https://github.com/TenEplaysOfficial/gitnifty\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">TenEplaysOfficial</a> • Released under <a href=\\\"https://github.com/TenEplaysOfficial/gitnifty/blob/main/LICENSE\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Apache License</a></div>\"", "release": "release-it", "lint": "biome lint", "format": "biome format --write" }, "lint-staged": { "*.{js,ts,yml,json,md}": "yarn format", "*.{ts}": "yarn lint" }, "release-it": { "git": { "requireCleanWorkingDir": false, "commitMessage": "chore: release v${version}", "tagName": "v${version}" }, "npm": { "publish": false }, "github": { "release": true }, "hooks": { "before:init": "yarn test && yarn docs", "before:commit": "git add .", "after:release": "node -e \"const major = require('./package.json').version.split('.')[0]; require('child_process').execSync('git tag -f v' + major + ' && git push -f origin v' + major, { stdio: 'inherit' })\"" } }, "jest": { "preset": "ts-jest/presets/default-esm", "testEnvironment": "node", "extensionsToTreatAsEsm": [ ".ts" ], "moduleNameMapper": { "^(\\.{1,2}/.*)\\.js$": "$1" }, "transform": { "^.+\\.ts$": [ "ts-jest", { "useESM": true } ] } }, "engines": { "node": ">=18" }, "dependencies": {}, "devDependencies": { "@biomejs/biome": "^2.1.2", "@types/jest": "^30.0.0", "@types/node": "^24.1.0", "husky": "^9.1.7", "jest": "^30.0.5", "lint-staged": "^16.1.2", "release-it": "^19.0.4", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typedoc": "^0.28.7", "typescript": "^5.8.3" } }