forked from lune-climate/ts-results-es
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.49 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
{
"name": "ts-results-es",
"version": "4.0.0",
"description": "A typescript implementation of Rust's Result and Option objects.",
"scripts": {
"build": "npm run clean && npm run build:ts && npm run build:copy",
"build:ts": "tsc -p tsconfig-cjs.json && tsc -p tsconfig-esm.json",
"build:copy": "cp package-cjs.json dist/cjs/package.json && cp package-esm.json dist/esm/package.json",
"clean": "rm -rf dist",
"test": "jest",
"format": "prettier . --write"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./rxjs-operators": {
"import": "./dist/esm/rxjs-operators/index.js",
"require": "./dist/cjs/rxjs-operators/index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/lune-climate/ts-results-es.git"
},
"keywords": [
"Rust",
"Result",
"Results",
"Option",
"Options",
"Typescript",
"TS",
"Ok",
"Err",
"Some",
"None",
"Typed Errors",
"Error Handling",
"Monad",
"Maybe",
"Union"
],
"author": "Vultix",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.3",
"conditional-type-checks": "^1.0.5",
"copyfiles": "^2.4.1",
"jest": "^29.6.2",
"prettier": "^3.0.1",
"rxjs": "^7.8.1",
"ts-jest": "^29.1.1",
"tslib": "^2.3.1",
"typescript": "^5.1.6"
},
"readme": "README.md"
}