-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
75 lines (75 loc) · 2.1 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
{
"name": "@cloudamqp/amqp-client",
"version": "3.1.1",
"description": "AMQP 0-9-1 client, both for browsers (WebSocket) and node (TCP Socket)",
"type": "module",
"main": "lib/cjs/index.js",
"types": "types/index.d.ts",
"browser": {
"AMQPClient": false,
"buffer": false,
"net": false,
"tls": false
},
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./lib/mjs/index.js",
"require": "./lib/cjs/index.js"
},
"./*": {
"types": "./types/*.d.ts",
"import": "./lib/mjs/*.js",
"require": "./lib/cjs/*.js"
}
},
"sideEffects": false,
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"docs": "typedoc src/index.ts",
"lint": "eslint .",
"test": "vitest run --coverage",
"test-browser": "vitest --config ./vitest.config.browser.ts",
"prebuild": "rm -rf dist lib types",
"build": "tsc && tsc --module commonjs --outDir lib/cjs && tsc --emitDeclarationOnly --removeComments false && rollup -c",
"postbuild": "echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"prepare": "npm run build",
"preversion": "npm test",
"version": "sed -i'' \"s/VERSION = .*/VERSION = '$npm_package_version'/\" src/amqp-base-client.ts && git add src/amqp-base-client.ts"
},
"files": [
"src/",
"lib/",
"types/",
"dist/"
],
"repository": "github:cloudamqp/amqp-client.js",
"keywords": [
"amqp",
"rabbitmq",
"amqplib"
],
"author": "CloudAMQP <contact@cloudamqp.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cloudamqp/amqp-client.js/issues"
},
"homepage": "https://github.com/cloudamqp/amqp-client.js#readme",
"devDependencies": {
"@types/node": "^20.5.3",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vitest/browser": "^0.34.2",
"@vitest/coverage-v8": "^0.34.2",
"eslint": "^8.47.0",
"playwright": "^1.37.1",
"rollup": "^3.28.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6",
"vitest": "^0.34.2"
}
}