-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
111 lines (111 loc) · 2.81 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
{
"name": "amqp-simple-pub-sub",
"version": "1.2.2",
"description": "A Pub Sub system that uses AMQP Messaging to exchange data between services",
"author": "Dave Sag <[email protected]>",
"type": "commonjs",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/davesag"
},
"main": "src/index.js",
"engines": {
"node": ">= 10"
},
"files": [
"CONTRIBUTING.md",
"src"
],
"directories": {
"lib": "src",
"test": "test"
},
"keywords": [
"amqp",
"message-queue",
"pubsub",
"pub-sub",
"publisher",
"subscriber",
"microservices",
"micro-services"
],
"scripts": {
"eslint-check": "eslint --print-config src/index.js | eslint-config-prettier-check",
"lint": "eslint .",
"prettier": "prettier --write '**/*.{js,json,md}'",
"start": "node index.js",
"backend": "docker-compose up -d amqp",
"test": "npm run test:unit",
"test:integration": "NODE_ENV=test mocha ./test/integration/ --require ./test/integrationTestHelper.js --recursive --bail",
"test:unit": "NODE_ENV=test mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"test:unit:cov": "NODE_ENV=test nyc mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"snyk-protect": "snyk-protect"
},
"repository": "https://github.com/davesag/amqp-simple-pub-sub.git",
"bugs": {
"url": "https://github.com/davesag/amqp-simple-pub-sub/issues"
},
"homepage": "https://github.com/davesag/amqp-simple-pub-sub#README",
"dependencies": {
"amqplib": "^0.10.4"
},
"devDependencies": {
"ajv": "^8.12.0",
"chai": "^4.3.10",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"mocha-prepare-promise": "0.0.2",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"proxyquire": "^2.1.3",
"sinon": "^17.0.1",
"sinon-chai": "^3.5.0",
"wait-until": "0.0.2"
},
"prettier": {
"semi": false,
"singleQuote": true,
"proseWrap": "never",
"arrowParens": "avoid",
"trailingComma": "none",
"printWidth": 100
},
"lint-staged": {
"**/*.{js,json,md}": [
"prettier --write"
]
},
"nyc": {
"check-coverage": true,
"per-file": true,
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"src/**/*.js"
],
"exclude": [
"src/index.js"
],
"reporter": [
"lcov",
"text"
],
"all": true,
"cache": true
},
"snyk": true
}