-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.63 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.63 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
{
"name": "class-binary-codec",
"version": "0.2.0",
"description": "Dependency-free fixed-layout binary serialization for decorated TypeScript classes.",
"keywords": [
"binary",
"codec",
"decorator",
"serialization",
"typescript",
"buffer",
"fixed-layout",
"cursor",
"base64url",
"zero-dependency"
],
"homepage": "https://github.com/ddnam99/class-binary-codec#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ddnam99/class-binary-codec.git"
},
"bugs": {
"url": "https://github.com/ddnam99/class-binary-codec/issues"
},
"license": "MIT",
"author": "Nam Duong Duc <work@namdd.dev>",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
},
"default": "./lib/index.js"
}
},
"files": [
"lib",
"README.md",
"LICENSE"
],
"sideEffects": false,
"engines": {
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean --sourcemap --out-dir lib",
"check": "npm run typecheck && npm test && npm run build",
"prepack": "npm run check",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@types/node": "^26.1.1",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
}
}