-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.53 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.53 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
{
"name": "@jeppech/results-ts",
"version": "1.3.4",
"description": "Rust-like Result and Option types for TypeScript",
"author": "Jeppe Christiansen",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/jeppech/results-ts.git"
},
"bugs": {
"url": "https://github.com/jeppech/results-ts/issues"
},
"type": "module",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./utils": {
"import": "./lib/utils.js",
"require": "./lib/utils.js",
"types": "./lib/utils.d.ts"
},
"./internal": {
"import": "./lib/internal.js",
"require": "./lib/internal.js",
"types": "./lib/internal.d.ts"
}
},
"files": [
"lib/**/*"
],
"scripts": {
"prepare": "pnpm format && pnpm lint && pnpm build",
"prepublishOnly": "pnpm lint",
"format": "prettier --config .prettierrc --write 'src/**/*.ts'",
"lint": "eslint src/",
"clean": "rm -rf ./lib/**/*",
"build": "pnpm clean && tsc -p tsconfig.json",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"result",
"option",
"rust",
"typescript",
"monad",
"functional"
],
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.34.0",
"@types/node": "^22.18.0",
"@typescript-eslint/eslint-plugin": "^8.41.0",
"@typescript-eslint/parser": "^8.41.0",
"eslint": "^9.34.0",
"prettier": "^3.6.2",
"typescript": "^5.9.2"
}
}