-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
94 lines (94 loc) · 2.11 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
{
"name": "cbor-x",
"author": "Kris Zyp",
"version": "1.6.1",
"description": "Ultra-fast and conformant CBOR (RFC 8949) implementation with support for numerous tag extensions including records and structured cloning",
"license": "MIT",
"types": "./index.d.ts",
"main": "./dist/node.cjs",
"module": "./index.js",
"keywords": [
"CBOR",
"performance",
"structured",
"clone"
],
"repository": {
"type": "git",
"url": "http://github.com/kriszyp/cbor-x"
},
"scripts": {
"benchmark": "node ./tests/benchmark.cjs",
"build": "rollup -c",
"dry-run": "npm publish --dry-run",
"prepare": "npm run build",
"test": "mocha tests/test**.*js -u tdd --experimental-json-modules"
},
"type": "module",
"exports": {
".": {
"node": {
"require": "./dist/node.cjs",
"import": "./node-index.js"
},
"types": {
"require": "./index.d.cts",
"import": "./index.d.ts"
},
"default": "./index.js"
},
"./encode": {
"node": {
"import": "./index.js",
"require": "./dist/node.cjs"
},
"default": {
"import": "./encode.js"
}
},
"./decode": {
"node": {
"import": "./index.js",
"require": "./dist/node.cjs"
},
"default": {
"import": "./decode.js"
}
},
"./decode-no-eval": {
"types": "./decode.d.ts",
"default": "./dist/decode-no-eval.cjs"
},
"./index-no-eval": {
"types": "./index.d.ts",
"default": "./dist/index-no-eval.cjs"
},
"./package.json": "./package.json"
},
"files": [
"/dist",
"*.md",
"/*.js",
"/*.ts"
],
"browser": {
"node:buffer": false
},
"optionalDependencies": {
"cbor-extract": "^2.2.0"
},
"devDependencies": {
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-terser": "^0.1.0",
"@types/node": "latest",
"async": "^3",
"cbor": "^5",
"cbor-sync": "^1.0.4",
"chai": "^4.3.4",
"cpy-cli": "^4.1.0",
"esm": "^3.2.25",
"mocha": "^10.1.0",
"rollup": "^3.2.5"
}
}