1 | {
|
2 | "name": "nats",
|
3 | "version": "2.0.2",
|
4 | "description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
|
5 | "keywords": [
|
6 | "nats",
|
7 | "messaging",
|
8 | "pubsub",
|
9 | "publish",
|
10 | "subscribe",
|
11 | "queue",
|
12 | "distributed",
|
13 | "queueing"
|
14 | ],
|
15 | "homepage": "https://nats.io",
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "git@github.com:nats-io/nats.js.git"
|
19 | },
|
20 | "bugs": {
|
21 | "url": "https://github.com/nats-io/nats.js/issues"
|
22 | },
|
23 | "license": "Apache-2.0",
|
24 | "private": false,
|
25 | "author": {
|
26 | "name": "The NATS Authors"
|
27 | },
|
28 | "contributors": [],
|
29 | "main": "index.js",
|
30 | "types": "index.d.ts",
|
31 | "files": [
|
32 | "lib/",
|
33 | "examples/",
|
34 | "OWNERS.md",
|
35 | "CODE-OF-CONDUCT.md",
|
36 | "LICENSE",
|
37 | "MAINTAINERS.md",
|
38 | "index.d.ts"
|
39 | ],
|
40 | "scripts": {
|
41 | "build": "tsc",
|
42 | "cjs": "deno run --allow-all bin/cjs-fix-imports.ts -o nats-base-client/ ./.deps/nats.deno/nats-base-client/",
|
43 | "clean": "shx rm -Rf ./lib/* ./nats-base-client ./.deps",
|
44 | "clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.0.2 https://github.com/nats-io/nats.deno.git",
|
45 | "fmt": "deno fmt ./src/ ./examples/ ./test/",
|
46 | "prepack": "npm run clone-nbc && npm run cjs && npm run build",
|
47 | "ava": "nyc ava --verbose -T 60000",
|
48 | "test": "npm run build && npm run ava",
|
49 | "debug-test": "node node_modules/.bin/ava --verbose -T 6500000 --match",
|
50 | "setup": "curl -fsSL https://deno.land/x/install/install.sh | sh",
|
51 | "setup_win": "choco install deno",
|
52 | "stage": "npm run clean && npm run clone-nbc && npm run cjs && shx rm -Rf ./deps/ && npm run build",
|
53 | "cover:html": "nyc report --reporter=html && open coverage/index.html",
|
54 | "coveralls": "shx mkdir -p ./coverage && nyc report --reporter=text-lcov > ./coverage/lcov.info"
|
55 | },
|
56 | "engines": {
|
57 | "node": ">= 10.0.0"
|
58 | },
|
59 | "dependencies": {
|
60 | "nkeys.js": "^1.0.0-9"
|
61 | },
|
62 | "devDependencies": {
|
63 | "@types/node": "^14.14.25",
|
64 | "ava": "^3.15.0",
|
65 | "minimist": "^1.2.5",
|
66 | "nyc": "^15.1.0",
|
67 | "shx": "^0.3.3",
|
68 | "tslint": "^6.1.3",
|
69 | "typescript": "^4.1.3"
|
70 | },
|
71 | "typings": "./index.d.ts",
|
72 | "ava": {
|
73 | "failFast": false,
|
74 | "files": [
|
75 | "./test/**/*.js",
|
76 | "!./test/helpers/**/*.js"
|
77 | ]
|
78 | },
|
79 | "nyc": {
|
80 | "extension": [
|
81 | ".ts",
|
82 | ".js"
|
83 | ],
|
84 | "include": [
|
85 | "src/**/*.ts",
|
86 | "lib/src/**/*.js",
|
87 | "nats-base-client/**/*.ts",
|
88 | "lib/nats-base-client/**/*.js"
|
89 | ],
|
90 | "exclude": [
|
91 | "nats-base-client/bench.ts",
|
92 | "nats-base-client/codec.ts",
|
93 | "nats-base-client/databuffer.ts",
|
94 | "nats-base-client/denobuffer.ts",
|
95 | "nats-base-client/muxsubscription.ts",
|
96 | "nats-base-client/nkeys.ts",
|
97 | "nats-base-client/nuid.ts",
|
98 | "nats-base-client/parser.ts",
|
99 | "nats-base-client/queued_iterator.ts",
|
100 | "nats-base-client/servers.ts",
|
101 | "nats-base-client/transport.ts",
|
102 | "nats-base-client/util.ts",
|
103 | "lib/test/**",
|
104 | "examples/**",
|
105 | "benchmark/**"
|
106 | ],
|
107 | "sourceMap": true,
|
108 | "all": true
|
109 | }
|
110 | }
|