forked from davesag/amqp-simple-pub-sub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.73 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
{
"name": "amqp-simple-pub-sub",
"version": "1.0.7",
"description": "A simple Pub Sub system that uses AMQP Messaging to exchange data between services",
"main": "src/index.js",
"engines": {
"node": ">= 8.12.0"
},
"files": [
"/package*.json",
"/CONTRIBUTING.md",
"/src"
],
"author": "Dave Sag <[email protected]>",
"license": "MIT",
"keywords": [
"amqp",
"message-queue",
"pubsub",
"pub-sub",
"publisher",
"subscriber",
"microservices",
"micro-services"
],
"scripts": {
"eslint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"lint": "eslint .",
"prettier": "prettier --single-quote --no-semi --write '**/*.{js,json}'",
"start": "node index.js",
"backend": "docker-compose up -d amqp",
"test": "npm run test:unit",
"test:integration": "find ./test/integration -name '*_spec.js' | NODE_ENV=test xargs mocha --require ./test/integration/test_helper.js --bail",
"test:unit": "find ./test/unit -name '*_spec.js' | NODE_ENV=test xargs mocha --require ./test/unit/test_helper.js",
"test:unit:cov": "find ./test/unit -name '*_spec.js' | NODE_ENV=test xargs nyc mocha --require ./test/unit/test_helper.js"
},
"lint-staged": {
"**/*.{js,json}": [
"prettier --single-quote --no-semi --write",
"git add"
]
},
"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
},
"devDependencies": {
"ajv": "^6.8.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^5.13.0",
"eslint-config-prettier": "^4.0.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-mocha": "^5.2.1",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"faker": "^4.1.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"mocha": "^5.2.0",
"mocha-prepare-promise": "0.0.1",
"nyc": "^13.2.0",
"prettier": "^1.16.4",
"proxyquire": "^2.1.0",
"sinon": "^7.2.3",
"sinon-chai": "^3.3.0",
"supertest": "^3.4.2",
"wait-until": "0.0.2"
},
"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.5.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}