UNPKG

@zerothrow/expect

Version:

Shared test matcher logic for ZeroThrow Result types

66 lines (65 loc) 1.57 kB
{ "name": "@zerothrow/expect", "version": "0.2.1", "description": "Shared test matcher logic for ZeroThrow Result types", "author": "J. Kirby Ross <james@flyingrobots.dev> (https://github.com/flyingrobots)", "homepage": "https://github.com/zerothrow/zerothrow#readme", "bugs": { "url": "https://github.com/zerothrow/zerothrow/issues" }, "keywords": [ "zerothrow", "test", "matchers", "expect", "result", "error-handling", "typescript" ], "engines": { "node": ">=18.17.0" }, "repository": { "type": "git", "url": "https://github.com/zerothrow/zerothrow.git", "directory": "packages/expect" }, "license": "MIT", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "echo 'No tests for expect package - logic tested via jest/vitest packages'", "test:watch": "vitest", "typecheck": "tsc --noEmit", "lint": "echo 'Linting is run from monorepo root'", "clean": "rm -rf dist .turbo", "prepublishOnly": "pnpm run build" }, "peerDependencies": { "@zerothrow/core": ">=0.1.0" }, "devDependencies": { "@zerothrow/core": "^0.2.3" }, "publishConfig": { "access": "public" }, "platform": "universal", "sideEffects": false }