-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 1.94 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 1.94 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
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "@zeny/safe-async",
"description": "A clean, type-safe utility for handling async operations without try-catch blocks. Returns Go-style [error, data] tuples with optional custom logging.",
"version": "1.1.1",
"keywords": [
"async",
"await",
"error",
"safe",
"tuple",
"golang",
"handling",
"typescript"
],
"license": "MIT",
"author": {
"name": "Alexis Bize",
"email": "alexis.bize@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/alexis-bize/safe-async"
},
"bugs": {
"url": "https://github.com/alexis-bize/safe-async/issues"
},
"homepage": "https://github.com/alexis-bize/safe-async#readme",
"type": "commonjs",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"./dist/**/*",
"./LICENSE",
"./README.md"
],
"sideEffects": false,
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf ./dist",
"prepublishOnly": "npm run test && npm run build",
"test": "jest --runInBand ./tests",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"**/*.{css,js,ts,tsx,json}\""
},
"devDependencies": {
"@types/jest": "30.0.0",
"@types/node": "24.0.3",
"jest": "30.0.0",
"prettier": "3.6.2",
"rimraf": "6.0.1",
"ts-jest": "29.4.0",
"typescript": "5.8.3"
},
"engines": {
"node": ">=18.0.0"
},
"jest": {
"preset": "ts-jest/presets/default",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js"
],
"testMatch": [
"**/?(*.)+(spec|test).ts"
],
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": false
}
]
},
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/src/$1"
}
}
}