-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.4 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
{
"name": "@jeppech/results-ts",
"version": "1.2.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"
}
},
"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.1.0",
"@eslint/js": "^9.14.0",
"@types/node": "^22.8.7",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"eslint": "^9.14.0",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
}
}