forked from cloudamqp/amqp-client.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.62 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.62 KB
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
{
"name": "@cloudamqp/amqp-client",
"version": "3.3.2",
"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 .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc --noEmit --project tsconfig.check.json",
"test": "vitest run --coverage",
"test:local": "vitest run --coverage test/test.ts",
"test-browser": "vitest --config ./vitest.config.browser.ts",
"update-changelog": "node scripts/update-changelog.js",
"create-tag": "node scripts/release-tag.js",
"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 run test:local",
"version": "sed -i'' \"s/VERSION = .*/VERSION = \\\"$npm_package_version\\\"/\" src/amqp-base-client.ts && npm run format && npm run update-changelog && git add -A",
"postversion": "npm run create-tag && git push && git push --tags",
"release": "npm version patch --no-git-tag-version",
"release:minor": "npm version minor --no-git-tag-version",
"release:major": "npm version major --no-git-tag-version"
},
"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": "*",
"@vitest/browser": "*",
"@vitest/coverage-v8": "*",
"eslint": "*",
"eslint-config-prettier": "*",
"typescript-eslint": "*",
"playwright": "*",
"prettier": "*",
"rollup": "*",
"rollup-plugin-sourcemaps": "*",
"ts-node": "*",
"typedoc": "*",
"typescript": "*",
"vitest": "*"
}
}