{
  "name": "test-fns",
  "author": "ehmpathy",
  "description": "write usecase driven tests systematically for simpler, safer, and more readable code",
  "version": "1.15.8",
  "repository": "ehmpathy/test-fns",
  "homepage": "https://github.com/ehmpathy/test-fns",
  "keywords": [
    "test",
    "usecase",
    "given",
    "when",
    "then",
    "behavior"
  ],
  "bugs": "https://github.com/ehmpathy/test-fns/issues",
  "license": "MIT",
  "main": "dist/index.js",
  "exports": {
    ".": "./dist/index.js",
    "./slowtest.reporter.jest": "./dist/contract/slowtest.reporter.jest.js",
    "./slowtest.reporter.vitest": "./dist/contract/slowtest.reporter.vitest.js",
    "./vitest.setup": "./dist/contract/vitest.setup.js"
  },
  "engines": {
    "node": ">=8.0.0"
  },
  "files": [
    "/dist"
  ],
  "scripts": {
    "commit:with-cli": "npx cz",
    "fix:format:biome": "biome check --write",
    "fix:format": "npm run fix:format:biome",
    "fix:lint": "biome check --write",
    "fix": "npm run fix:format && npm run fix:lint",
    "build:artifact": "echo 'no artifact'",
    "build:clean:bun": "rm -f ./bin/*.bc",
    "build:clean:tsc": "(chmod -R u+w dist 2>/dev/null || true) && rm -rf dist/",
    "build:clean": "npm run build:clean:tsc && npm run build:clean:bun",
    "build:compile:tsc": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
    "build:compile": "npm run build:compile:tsc && npm run build:compile:bun --if-present",
    "build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present",
    "test:auth": "[ \"$ECHO\" = 'true' ] && echo '. .agent/repo=.this/role=any/skills/use.apikeys.sh' || . .agent/repo=.this/role=any/skills/use.apikeys.sh",
    "test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
    "test:types": "tsc -p ./tsconfig.json --noEmit",
    "test:format:biome": "biome format",
    "test:format": "npm run test:format:biome",
    "test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
    "test:lint:biome": "biome check --diagnostic-level=error",
    "test:lint:biome:all": "biome check",
    "test:lint": "npm run test:lint:biome && npm run test:lint:deps",
    "test:unit:jest": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main') $([ -n $RESNAP ] && echo '--updateSnapshot')",
    "test:unit:vitest": "vitest run --config ./vitest.unit.globals.config.ts --passWithNoTests && vitest run --config ./vitest.unit.bdd.config.ts --passWithNoTests",
    "test:unit": "npm run test:unit:jest && npm run test:unit:vitest",
    "test:integration:jest": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main') $([ -n $RESNAP ] && echo '--updateSnapshot')",
    "test:integration:vitest": "vitest run --config ./vitest.integration.config.ts --passWithNoTests",
    "test:integration": "npm run test:integration:jest && npm run test:integration:vitest",
    "test:acceptance:jest": "jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n $RESNAP ] && echo '--updateSnapshot')",
    "test:acceptance:jest:locally": "npm run build && LOCALLY=true npm run test:acceptance:jest",
    "test:acceptance:vitest": "vitest run --config ./vitest.acceptance.config.ts --passWithNoTests",
    "test:acceptance:vitest:locally": "npm run build && LOCALLY=true npm run test:acceptance:vitest",
    "test:acceptance:locally": "npm run test:acceptance:jest:locally && npm run test:acceptance:vitest:locally",
    "test": "eval $(ECHO=true npm run --silent test:auth) && npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
    "test:acceptance": "npm run test:acceptance:locally",
    "prepush": "npm run test && npm run build",
    "prepublish": "npm run build",
    "preversion": "npm run prepush",
    "postversion": "git push origin HEAD --tags --no-verify",
    "prepare:husky": "husky install && chmod ug+x .husky/*",
    "prepare:rhachet": "rhachet init --hooks --roles mechanic behaver driver reviewer librarian ergonomist architect reflector dreamer dispatcher",
    "prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi",
    "upgrade:rhachet": "rhachet upgrade"
  },
  "dependencies": {
    "domain-objects": "0.31.9",
    "helpful-errors": "1.7.3",
    "iso-time": "1.11.3",
    "uuid": "10.0.0"
  },
  "devDependencies": {
    "@biomejs/biome": "2.3.8",
    "@commitlint/cli": "19.5.0",
    "@commitlint/config-conventional": "19.5.0",
    "@jest/reporters": "30.2.0",
    "@swc/core": "1.15.3",
    "@swc/jest": "0.2.39",
    "@tsconfig/node20": "20.1.5",
    "@tsconfig/strictest": "2.0.5",
    "@types/jest": "30.0.0",
    "@types/node": "22.15.21",
    "@types/uuid": "10.0.0",
    "cz-conventional-changelog": "3.3.0",
    "declapract": "0.13.15",
    "declapract-typescript-ehmpathy": "0.47.45",
    "declastruct": "1.7.3",
    "declastruct-github": "1.3.0",
    "depcheck": "1.4.3",
    "esbuild-register": "3.6.0",
    "husky": "8.0.3",
    "jest": "30.2.0",
    "rhachet": "1.39.9",
    "rhachet-brains-anthropic": "0.4.0",
    "rhachet-roles-bhrain": "0.23.10",
    "rhachet-roles-bhuild": "0.17.0",
    "rhachet-roles-ehmpathy": "1.34.24",
    "tsc-alias": "1.8.10",
    "tsx": "4.21.0",
    "typescript": "5.4.5",
    "vitest": "4.0.16",
    "yalc": "1.0.0-pre.53"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "packageManager": "pnpm@10.24.0"
}
