-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.74 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "go-errors",
"version": "2.0.0",
"description": "Go-style error handling for TypeScript with full type safety, async, and fetch support",
"type": "module",
"main": "./dist/src/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/src/index.d.ts",
"typings": "./dist/src/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/src/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
}
}
},
"scripts": {
"build": "bun run build:cjs && bun run build:esm",
"build:cjs": "bunx tsc -p tsconfig.json",
"build:esm": "bunx tsc -p tsconfig.esm.json",
"test": "bun test",
"test:watch": "bun test --watch",
"prepublishOnly": "bun run build",
"lint": "bunx tsc --noEmit",
"clean": "rm -rf dist",
"prebuild": "bun run clean"
},
"files": [
"dist/**/*"
],
"keywords": [
"typescript",
"error-handling",
"golang",
"go",
"errors",
"functional",
"async",
"promise",
"result-type",
"exception-handling",
"error-monad",
"fetch",
"http-client",
"api-client",
"type-safe-fetch"
],
"author": "Ashkan Samadiyan",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ashkansamadiyan/go-style-errors.git"
},
"bugs": {
"url": "https://github.com/ashkansamadiyan/go-style-errors/issues"
},
"homepage": "https://go-errors-docs.vercel.app/",
"devDependencies": {
"@types/node": "^22.13.5",
"typescript": "^5.7.3",
"vitest": "^3.0.7"
},
"engines": {
"node": ">=14.0.0"
},
"sideEffects": false,
"publishConfig": {
"access": "public"
}
}