-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.13 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.13 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
{
"name": "tryresult",
"description": "A typescript library to get rid of try catches.",
"keywords": [
"typescript",
"error-handling",
"try-catch",
"errors"
],
"version": "2.0.1",
"repository": {
"type": "git",
"url": "https://github.com/ahme-dev/tryresult.git"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"build": "tsup src --format cjs,esm --dts",
"test": "vitest run",
"size": "size-limit",
"prepublishOnly": "pnpm run build"
},
"size-limit": [
{
"path": "src/index.ts"
}
],
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "2.0.5",
"@size-limit/esbuild-why": "^11.2.0",
"@size-limit/preset-small-lib": "^11.2.0",
"@types/node": "^20.2.1",
"size-limit": "^11.2.0",
"tsup": "6.6.3",
"typescript": "4.9.5",
"vitest": "0.28.5"
},
"type": "module"
}