forked from everweij/typescript-result
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.52 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
64
65
66
67
68
69
{
"private": false,
"name": "typescript-result",
"version": "2.0.0",
"description": "A Result type inspired by Rust and Kotlin that leverages TypeScript's powerful type system to simplify error handling and make your code more readable and maintainable.",
"keywords": [
"result",
"type",
"TypeScript",
"ts",
"error",
"error handling",
"exception",
"ok",
"success",
"failure"
],
"author": {
"name": "Erik Verweij",
"url": "https://github.com/everweij"
},
"repository": "github:everweij/typescript-result",
"homepage": "https://github.com/everweij/typescript-result#readme",
"bugs": {
"url": "https://github.com/everweij/typescript-result/issues/new"
},
"license": "MIT",
"files": [
"dist"
],
"main": "dist/index.js",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=18"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"test": "vitest",
"test:ci": "vitest run",
"coverage": "vitest run --coverage",
"lint": "biome check --apply src",
"typecheck": "tsc --noEmit",
"prepare": "husky",
"build": "tsup",
"gzip-size": "npx gzip-size-cli ./dist/index.js"
},
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@types/node": "^20.12.12",
"@vitest/coverage-v8": "^1.6.0",
"husky": "^9.0.11",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
}
}