-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.92 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 1.92 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
{
"name": "happy-rusty",
"description": "Rust's Option, Result, and sync primitives for JavaScript/TypeScript - Better error handling and null-safety patterns.",
"author": "jiang115jie@gmail.com",
"license": "MIT",
"version": "1.9.1",
"type": "module",
"main": "dist/main.cjs",
"module": "dist/main.mjs",
"types": "dist/types.d.ts",
"exports": {
".": {
"types": "./dist/types.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs",
"default": "./dist/main.mjs"
},
"./package.json": "./package.json"
},
"files": [
"LICENSE",
"README.md",
"CHANGELOG.md",
"dist"
],
"sideEffects": false,
"scripts": {
"check": "pnpm exec tsc --noEmit",
"lint": "pnpm exec eslint .",
"prebuild": "pnpm run check && pnpm run lint",
"build": "pnpm exec vite build && pnpm exec rollup --config rollup.config.ts",
"test": "pnpm exec vitest run --coverage",
"test:watch": "pnpm exec vitest",
"test:ui": "pnpm exec vitest --ui",
"predocs": "pnpm dlx rimraf docs",
"docs": "pnpm exec typedoc",
"eg": "deno run -A examples/main.ts",
"prepublishOnly": "pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JiangJie/happy-rusty.git"
},
"keywords": [
"rust",
"typescript",
"Option",
"Some",
"None",
"Result",
"Ok",
"Err",
"Once",
"Lazy",
"Mutex",
"RwLock",
"Channel",
"ControlFlow",
"FnOnce",
"error-handling",
"null-safety",
"async",
"concurrency"
],
"devDependencies": {
"@eslint/js": "^9.39.2",
"@stylistic/eslint-plugin": "^5.7.0",
"@vitest/coverage-v8": "^4.0.17",
"@vitest/ui": "4.0.17",
"eslint": "^9.39.2",
"rollup": "^4.55.1",
"rollup-plugin-dts": "^6.3.0",
"typedoc": "^0.28.16",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.0",
"vite": "^7.3.1",
"vitest": "^4.0.17"
}
}