-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.8 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.8 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
88
89
90
91
92
93
94
95
{
"name": "@eriveltonsilva/result.js",
"description": "A lightweight, Rust-inspired Result type for JavaScript and TypeScript — handle success and error cases without exceptions.",
"version": "1.2.4",
"keywords": [
"javascript",
"typescript",
"result-type",
"rust",
"monad",
"functional programming",
"error handling"
],
"license": "MIT",
"author": {
"name": "Erivelton Silva",
"email": "eriveltondasilva13@gmail.com"
},
"homepage": "https://eriveltondasilva.github.io/result.js/",
"repository": {
"type": "git",
"url": "git+https://github.com/eriveltondasilva/result.js.git"
},
"bugs": {
"url": "https://github.com/eriveltondasilva/result.js/issues"
},
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"sideEffects": false,
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsup --minify",
"build:dev": "npm run clean && tsup",
"start": "node dist/index.js",
"dev": "tsx watch src/examples.ts",
"fmt": "biome format --write --verbose",
"lint": "biome lint --write --verbose",
"check": "biome check --write --verbose",
"ci": "biome ci --verbose",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:dev": "vitest watch",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --coverage --ui",
"test:report": "vitest run --reporter=html --outputFile=vitest/report/index.html",
"test:preview": "npm run test:report && npx vite preview --outDir vitest/report",
"validate": "npm run typecheck && npm run ci && npm run test",
"prepublishOnly": "npm run build",
"postversion": "git push origin main --follow-tags",
"docs:dev": "vitepress dev docs --open",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"predocs:build": "node scripts/copy-changelog.js && typedoc",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "2.3.10",
"@tsconfig/node22": "^22.0.5",
"@tsconfig/strictest": "^2.0.8",
"@types/node": "^22.19.3",
"@vitest/coverage-v8": "^4.0.16",
"@vitest/ui": "^4.0.16",
"husky": "^9.1.7",
"rimraf": "^6.1.2",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typedoc": "^0.28.15",
"typedoc-plugin-frontmatter": "^1.3.1",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.9.3",
"vitepress": "^2.0.0-alpha.15",
"vitest": "^4.0.16"
}
}