jdalrymple/sema4

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "sema4",
  "version": "0.1.3",
  "description": "Promise based Semaphores",
  "keywords": [
    "semaphore",
    "promise",
    "async"
  ],
  "homepage": "https://github.com/jdalrymple/sema4",
  "bugs": {
    "url": "https://github.com/jdalrymple/sema4/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jdalrymple/sema4.git"
  },
  "license": "MIT",
  "author": "Justin Dalrymple",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    }
  },
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "tsup src/index.ts --format esm,cjs --dts --treeshake",
    "format": "yarn format:src && yarn format:docs",
    "format:docs": "prettier '**/(*.json|.yml|.js|.md)' --ignore-path ./.prettierignore",
    "format:docs:fix": "yarn format:docs --write",
    "format:fix": "yarn format:src:fix && yarn format:docs:fix",
    "format:src": "prettier '{src,test,examples}/**/*.ts' --ignore-path ./.prettierignore",
    "format:src:fix": "yarn format:src --write",
    "postinstall": "husky install",
    "lint": "eslint '{src,test}/**/*.ts'",
    "lint:fix": "yarn lint --fix",
    "prepublishOnly": "pinst --disable",
    "postpublish": "pinst --enable",
    "release": "auto shipit",
    "release:canary": "auto canary",
    "release:rc": "auto next",
    "test:types": "tsc",
    "test:unit": "jest --maxWorkers=50% test"
  },
  "resolutions": {
    "all-contributors-cli": "6.26.1"
  },
  "devDependencies": {
    "@auto-it/all-contributors": "^11.0.4",
    "@auto-it/core": "^11.0.4",
    "@auto-it/first-time-contributor": "^11.0.4",
    "@auto-it/omit-commits": "^11.0.4",
    "@auto-it/omit-release-notes": "^11.0.4",
    "@auto-it/released": "^11.0.4",
    "@swc/core": "^1.3.101",
    "@swc/jest": "^0.2.29",
    "@types/jest": "^29.5.11",
    "@types/node": "^20.10.5",
    "@typescript-eslint/eslint-plugin": "^6.15.0",
    "@typescript-eslint/parser": "^6.15.0",
    "auto": "^11.0.4",
    "eslint": "^8.56.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-import-resolver-typescript": "^3.6.1",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-jest": "^27.6.0",
    "eslint-plugin-prettier": "^5.0.1",
    "husky": ">=8.0.3",
    "jest": "^29.7.0",
    "jest-junit": "^16.0.0",
    "lint-staged": "^=15.2.0",
    "pinst": ">=3.0.0",
    "prettier": "^3.1.1",
    "tsup": "^8.0.1",
    "typescript": "^5.3.3"
  },
  "packageManager": "yarn@4.0.2"
}