-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.05 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
{
"name": "@sweet-security/kafkas",
"version": "0.1.9",
"description": "An kafkajs decorator with cooperative sticky assigner support",
"main": "index.js",
"types": "types/index.d.ts",
"license": "MIT",
"keywords": [
"kafka",
"sasl",
"scram"
],
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sweet-security/kafkas.git"
},
"scripts": {
"jest": "export KAFKA_VERSION=${KAFKA_VERSION:='2.4'} && NODE_ENV=test echo \"KAFKA_VERSION: ${KAFKA_VERSION}\" && KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 jest",
"test:local": "yarn jest --detectOpenHandles",
"test:debug": "NODE_ENV=test KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 node --inspect-brk $(yarn bin 2>/dev/null)/jest --detectOpenHandles --runInBand --watch",
"test:local:watch": "yarn test:local --watch",
"lint": "find . -path ./node_modules -prune -o -path ./coverage -prune -o -path ./website -prune -o -name '*.js' -print0 | xargs -0 eslint",
"format": "find . -path ./node_modules -prune -o -path ./coverage -prune -o -path ./website -prune -o -name '*.js' -print0 | xargs -0 prettier --write",
"precommit": "lint-staged",
"test:circular-dependency": "dpdm -T --no-warning --no-tree --exit-code circular:1 ./src/**/\\*",
"test:group:broker": "yarn jest --forceExit --testPathPattern 'src/broker/.*'",
"test:group:admin": "yarn jest --forceExit --testPathPattern 'src/admin/.*'",
"test:group:producer": "yarn jest --forceExit --testPathPattern 'src/producer/.*'",
"test:group:consumer": "yarn jest --forceExit --testPathPattern 'src/consumer/.*.spec.js'",
"test:group:others": "yarn jest --forceExit --testPathPattern 'src/(?!(broker|admin|producer|consumer)/).*'",
"test:group:oauthbearer": "OAUTHBEARER_ENABLED=1 yarn jest --forceExit src/producer/index.spec.js src/broker/__tests__/connect.spec.js src/consumer/__tests__/connection.spec.js src/broker/__tests__/disconnect.spec.js src/admin/__tests__/connection.spec.js src/broker/__tests__/reauthenticate.spec.js",
"test:types": "tsc -p types/"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^12.0.8",
"@typescript-eslint/typescript-estree": "^1.10.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^26.1.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"execa": "^2.0.3",
"glob": "^7.1.4",
"husky": "^3.0.1",
"ip": "^1.1.5",
"dpdm": "^3.14.0",
"jest": "^25.1.0",
"jest-circus": "^25.1.0",
"jest-extended": "^0.11.2",
"jest-junit": "^10.0.0",
"jsonwebtoken": "^9.0.0",
"lint-staged": "^9.2.0",
"mockdate": "^2.0.5",
"prettier": "^1.18.2",
"semver": "^6.2.0",
"typescript": "^3.8.3",
"uuid": "^3.3.2"
},
"dependencies": {
"lodash": "^4.17.21"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
}
}