MaxMilton/git-ref

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "git-ref",
  "version": "0.4.0",
  "type": "module",
  "description": "Get git information using your system git executable",
  "repository": "maxmilton/git-ref",
  "author": "Max Milton <max@happyhackers.xyz>",
  "license": "MIT",
  "sideEffects": false,
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": ["dist"],
  "scripts": {
    "build": "bun build --outdir=dist --target=node src/index.ts",
    "lint": "bun run lint:fmt && bun run lint:js && bun run lint:ts",
    "lint:fmt": "biome format .",
    "lint:js": "eslint --ignore-path .gitignore --ext .ts,.js,.mjs,.cjs .",
    "lint:ts": "tsc --noEmit",
    "postbuild": "tsc --emitDeclarationOnly --declaration --declarationDir dist --skipLibCheck src/index.ts",
    "prebuild": "rm -rf dist",
    "test": "bun test --coverage"
  },
  "devDependencies": {
    "@biomejs/biome": "1.8.0",
    "@types/bun": "1.1.3",
    "@typescript-eslint/eslint-plugin": "7.12.0",
    "@typescript-eslint/parser": "7.12.0",
    "eslint": "9.4.0",
    "eslint-config-airbnb-base": "15.0.0",
    "eslint-config-airbnb-typescript": "18.0.0",
    "eslint-plugin-import": "2.29.1",
    "eslint-plugin-unicorn": "53.0.0",
    "typescript": "5.4.5"
  },
  "overrides": {
    "eslint": "8.x.x"
  }
}