UNPKG

@konker.dev/tiny-error-fp

Version:

A configurable error for Typescript projects based on Effect-ts

86 lines 3.3 kB
{ "name": "@konker.dev/tiny-error-fp", "version": "0.1.12", "type": "module", "author": "Konrad Markus <mail@konker.dev>", "license": "ISC", "description": "A configurable error for Typescript projects based on Effect-ts", "homepage": "https://konker.dev/", "keywords": [ "error", "typescript", "functional-programming", "effect-ts", "node" ], "repository": { "type": "git", "url": "https://github.com/konker/konker.dev/packages/tiny-error-fp" }, "main": "dist/index.js", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./consts": { "types": "./dist/consts.d.ts", "import": "./dist/consts.js" }, "./lib": { "types": "./dist/lib.d.ts", "import": "./dist/lib.js" } }, "files": [ "dist/**/*", "!dist/**/*.test.*" ], "dependencies": { "effect": "^3.19.13" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@effect/language-service": "^0.62.5", "@eslint/compat": "^2.0.0", "@eslint/js": "^9.39.2", "@konker.dev/common-config": "^0.7.0", "@types/node": "^25.0.3", "@vitest/coverage-istanbul": "^4.0.16", "eslint": "^9.39.2", "eslint-plugin-fp": "^2.3.0", "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-sort-destructure-keys": "^2.0.0", "leasot": "^14.4.0", "madge": "^8.0.0", "prettier": "^3.7.4", "tsx": "^4.21.0", "type-coverage": "^2.29.7", "typescript": "^5.9.3", "typescript-eslint": "^8.50.1", "vitest": "^4.0.16" }, "scripts": { "test": "vitest run --coverage", "clean": "rm -rf dist && rm -f tsconfig.tsbuildinfo", "typecheck": "tsc --noEmit", "build": "pnpm run clean && tsc", "type-coverage-check": "type-coverage --detail --at-least 100 --ignore-files src/index.test.ts", "circular-check": "madge --extensions ts --circular --no-color --no-spinner --warning src", "eslint-check": "eslint --max-warnings=0 '**/*.{ts,js,json}'", "eslint-fix": "npx eslint --fix||true", "generated-exports-check": "npx --package=@konker.dev/common-config generate-exports-verify `pwd`", "exports-check": "attw --pack . --ignore-rules=cjs-resolves-to-esm --profile=esm-only", "fixme-check": "leasot --exit-nicely --skip-unsupported src", "prettier-check": "npx prettier --check --ignore-path .gitignore --ignore-path .prettierignore '**/*.{css,html,js,ts,json,md,yaml,yml}'", "prettier-fix": "pnpm run prettier-check --write", "lint-check": "pnpm run eslint-check && pnpm run prettier-check && pnpm run circular-check && pnpm run fixme-check", "lint-fix": "pnpm run eslint-fix && pnpm run prettier-fix", "pre-push": "pnpm run lint-check && pnpm run typecheck", "codecov": "npx --package=@konker.dev/common-config codecov-upload `pwd` '@konker.dev/tiny-error-fp'", "ci": "pnpm run lint-check && pnpm run typecheck && pnpm run type-coverage-check && pnpm run test && pnpm run build && pnpm run generated-exports-check && pnpm run exports-check && pnpm run fixme-check", "cd": "pnpm run build && npx --package=@konker.dev/common-config npm-publish-if-version-not-exists `pwd`" } }