jdalrymple/gitbeaker

View on GitHub
packages/rest/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@gitbeaker/rest",
  "version": "41.3.0",
  "description": "Cross Platform implementation of the GitLab API",
  "license": "MIT",
  "engines": {
    "node": ">=18.20.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/jdalrymple/gitbeaker",
    "directory": "packages/rest"
  },
  "bugs": {
    "url": "https://github.com/jdalrymple/gitbeaker/issues"
  },
  "homepage": "https://github.com/jdalrymple/gitbeaker#readme",
  "author": {
    "name": "Justin Dalrymple"
  },
  "keywords": [
    "gitlab",
    "api",
    "rest",
    "browser",
    "gitbeaker"
  ],
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    }
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "tsup src/index.ts --format esm,cjs --dts --treeshake",
    "test:types": "tsc",
    "test:e2e:browser": "playwright test --project=e2e",
    "test:e2e:nodejs": "jest --maxWorkers=50% test/e2e/nodejs",
    "test:e2e": "yarn test:e2e:browser && yarn test:e2e:nodejs",
    "test:integration:browser": "playwright test --project=integration",
    "test:integration": "yarn test:integration:browser",
    "test:unit": "jest --maxWorkers=50% test/unit",
    "lint": "eslint '**/{src,test,scripts}/**/*.ts'",
    "lint:fix": "yarn lint --fix"
  },
  "dependencies": {
    "@gitbeaker/core": "^41.3.0",
    "@gitbeaker/requester-utils": "^41.3.0"
  },
  "devDependencies": {
    "@playwright/test": "^1.45.1",
    "@types/node": "^20.14.10",
    "tsup": "^8.1.0",
    "typescript": "^5.5.3"
  }
}