forked from kriszyp/msgpackr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@colyseus/msgpackr",
"author": "Kris Zyp",
"version": "1.10.5",
"description": "Ultra-fast MessagePack implementation with extensions for records and structured cloning",
"license": "MIT",
"types": "./index.d.ts",
"main": "./dist/node.cjs",
"module": "./index.js",
"keywords": [
"MessagePack",
"msgpack",
"performance",
"structured",
"clone"
],
"repository": {
"type": "git",
"url": "http://github.com/kriszyp/msgpackr"
},
"scripts": {
"benchmark": "node ./tests/benchmark.cjs",
"build": "rollup -c && cpy index.d.ts . --rename=index.d.cts && cpy pack.d.ts . --rename=pack.d.cts && cpy unpack.d.ts . --rename=unpack.d.cts",
"dry-run": "npm publish --dry-run",
"prepare": "npm run build",
"test": "mocha tests/test**.*js -u tdd --experimental-json-modules"
},
"type": "module",
"exports": {
".": {
"types": {
"require": "./index.d.cts",
"import": "./index.d.ts"
},
"node": {
"require": "./dist/node.cjs",
"import": "./node-index.js"
},
"bun": {
"require": "./dist/node.cjs",
"import": "./node-index.js"
},
"default": "./index.js"
},
"./pack": {
"types": {
"require": "./pack.d.cts",
"import": "./pack.d.ts"
},
"node": {
"import": "./index.js",
"require": "./dist/node.cjs"
},
"bun": {
"import": "./index.js",
"require": "./dist/node.cjs"
},
"default": "./pack.js"
},
"./unpack": {
"types": {
"require": "./unpack.d.cts",
"import": "./unpack.d.ts"
},
"node": {
"import": "./index.js",
"require": "./dist/node.cjs"
},
"bun": {
"import": "./index.js",
"require": "./dist/node.cjs"
},
"default": "./unpack.js"
},
"./unpack-no-eval": "./dist/unpack-no-eval.cjs",
"./index-no-eval": "./dist/index-no-eval.cjs"
},
"files": [
"/dist",
"*.md",
"/*.js",
"/*.ts",
"/*.cts"
],
"optionalDependencies": {
"msgpackr-extract": "^3.0.2"
},
"devDependencies": {
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@types/node": "latest",
"async": "^3",
"chai": "^4.3.4",
"cpy-cli": "^4.1.0",
"esm": "^3.2.25",
"mocha": "^10.1.0",
"rollup": "^3.2.5",
"@rollup/plugin-terser": "^0.1.0"
}
}