-
Notifications
You must be signed in to change notification settings - Fork 163
/
package.json
118 lines (118 loc) · 3.62 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "nats",
"version": "2.28.2",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
"keywords": [
"nats",
"messaging",
"pubsub",
"publish",
"subscribe",
"queue",
"distributed",
"queueing"
],
"homepage": "https://nats.io",
"repository": {
"type": "git",
"url": "[email protected]:nats-io/nats.js.git"
},
"bugs": {
"url": "https://github.com/nats-io/nats.js/issues"
},
"license": "Apache-2.0",
"private": false,
"author": {
"name": "The NATS Authors"
},
"contributors": [],
"main": "index.js",
"types": "lib/src/mod.d.ts",
"files": [
"lib/",
"examples/",
"OWNERS.md",
"CODE-OF-CONDUCT.md",
"LICENSE",
"MAINTAINERS.md"
],
"scripts": {
"build": "tsc",
"cjs-nbc": "deno run --allow-all ./bin/cjs-fix-imports.ts -o nats-base-client/ ./.deps/nats.deno/nats-base-client",
"cjs-jetstream": "deno run --allow-all ./bin/cjs-fix-imports.ts -o jetstream/ ./.deps/nats.deno/jetstream/",
"cjs": "npm run cjs-nbc && npm run cjs-jetstream",
"clean": "shx rm -Rf ./lib/* ./nats-base-client ./.deps",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.28.2 https://github.com/nats-io/nats.deno.git",
"fmt": "deno fmt ./src/ ./examples/ ./test/",
"prepack": "npm run clone-nbc && npm run cjs && npm run check-package && npm run build",
"ava": "nyc ava --verbose -T 60000",
"test": "npm run check-package && npm run build && npm run ava",
"debug-test": "node node_modules/.bin/ava --verbose -T 6500000 --match",
"setup": "curl -fsSL https://deno.land/x/install/install.sh | sh",
"setup_win": "choco install deno",
"stage": "npm run clean && npm run clone-nbc && npm run cjs && shx rm -Rf ./deps/ && npm run build",
"cover:html": "nyc report --reporter=html && open coverage/index.html",
"coveralls": "shx mkdir -p ./coverage && nyc report --reporter=text-lcov > ./coverage/lcov.info",
"check-package": "deno run --allow-all bin/check-bundle-version.ts",
"version": "deno run -A bin/update-transport-version.ts && git add src/node_transport.ts",
"postversion": "git push && git push --tags",
"bump-qualifier": "npm version prerelease --no-commit-hooks --no-git-tag-version",
"bump-release": "npm version patch --no-commit-hooks --no-git-tag-version"
},
"engines": {
"node": ">= 14.0.0"
},
"dependencies": {
"nkeys.js": "1.1.0"
},
"devDependencies": {
"@types/node": "^20.14.12",
"ava": "^5.3.x",
"minimist": "^1.2.8",
"nats-jwt": "^0.0.9",
"nyc": "^15.1.0",
"shx": "^0.3.3",
"typescript": "5.5.4"
},
"typings": "./lib/src/mod.d.ts",
"ava": {
"failFast": false,
"files": [
"./test/**/*.js",
"!./test/helpers/**/*.js"
]
},
"nyc": {
"extension": [
".ts",
".js"
],
"include": [
"src/**/*.ts",
"lib/src/**/*.js",
"nats-base-client/**/*.ts",
"lib/nats-base-client/**/*.js",
"jetstream/**/*.ts",
"lib/jetstream/**/*.js"
],
"exclude": [
"nats-base-client/bench.ts",
"nats-base-client/codec.ts",
"nats-base-client/databuffer.ts",
"nats-base-client/denobuffer.ts",
"nats-base-client/muxsubscription.ts",
"nats-base-client/nkeys.ts",
"nats-base-client/nuid.ts",
"nats-base-client/parser.ts",
"nats-base-client/queued_iterator.ts",
"nats-base-client/servers.ts",
"nats-base-client/transport.ts",
"nats-base-client/util.ts",
"lib/test/**",
"examples/**",
"benchmark/**"
],
"sourceMap": true,
"all": true
}
}