[READ-ONLY] Mirror of https://github.com/danielroe/errx. Zero dependency library to capture and parse stack traces in Node, Bun, Deno and more.
error
stack-trace
1.3 kB
55 lines
1{
2 "name": "errx",
3 "type": "module",
4 "version": "0.1.0",
5 "packageManager": "pnpm@11.10.0",
6 "description": "Zero dependency library to capture and parse stack traces in Node, Bun and Deno",
7 "license": "MIT",
8 "repository": "unjs/errx",
9 "sideEffects": false,
10 "exports": {
11 ".": "./src/index.ts",
12 "./package.json": "./package.json"
13 },
14 "types": "./dist/index.d.mts",
15 "files": [
16 "dist"
17 ],
18 "scripts": {
19 "build": "tsdown",
20 "dev": "vitest dev",
21 "lint": "eslint .",
22 "prepare": "simple-git-hooks",
23 "prepack": "pnpm build",
24 "prepublishOnly": "pnpm lint && pnpm test",
25 "test": "pnpm test:unit && pnpm test:types",
26 "test:unit": "vitest",
27 "test:types": "tsc --noEmit"
28 },
29 "devDependencies": {
30 "@antfu/eslint-config": "latest",
31 "@types/node": "latest",
32 "@vitest/coverage-v8": "latest",
33 "eslint": "latest",
34 "nano-staged": "1.0.2",
35 "simple-git-hooks": "latest",
36 "tsdown": "0.22.3",
37 "typescript": "latest",
38 "vite": "latest",
39 "vitest": "latest"
40 },
41 "simple-git-hooks": {
42 "pre-commit": "npx nano-staged"
43 },
44 "nano-staged": {
45 "*.{js,ts,mjs,cjs,json,.*rc}": [
46 "pnpm eslint --fix"
47 ]
48 },
49 "publishConfig": {
50 "exports": {
51 ".": "./dist/index.mjs",
52 "./package.json": "./package.json"
53 }
54 }
55}