-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (63 loc) · 1.44 KB
/
package.json
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
{
"name": "might-fail",
"version": "0.7.1",
"description": "A better way to handle errors in JavaScript and TypeScript. Handle async and sync errors without `try` and `catch` blocks.",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
},
"./go": {
"import": "./dist/go/index.js",
"require": "./dist/cjs/go/index.js",
"types": "./dist/go/index.d.ts"
}
},
"scripts": {
"build": "bun build.ts",
"test": "vitest",
"typedoc": "typedoc src",
"prepublishOnly": "npm run build"
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/**/*.ts"
],
"author": "Sam Meech-Ward <[email protected]> (https://smw.wtf)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/might-fail/ts.git"
},
"keywords": [
"mightfail",
"might fail",
"either",
"error",
"exception",
"fail",
"failure",
"maybe",
"result",
"success",
"try",
"typescript"
],
"devDependencies": {
"@types/node": "^22.7.5",
"esbuild": "^0.24.0",
"glob": "7.2.3",
"@types/glob": "^8.0.0",
"jsdoc-to-markdown": "^9.0.2",
"typedoc": "^0.26.8",
"typedoc-plugin-markdown": "^4.2.9",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
}
}