-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
127 lines (127 loc) · 3.46 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@workablehr/orka",
"version": "4.2.1",
"description": "",
"main": "build/index.js",
"scripts": {
"clean": "rm -rf ./build",
"prebuild": "npm run clean",
"build": "tsc -p src",
"prewatch": "npm run clean",
"watch": "tsc -w -p src",
"prepublishOnly": "npm run build && npm test",
"pretest": "tslint --project ./src/ && tslint ./test/**/*.ts && npm run build",
"test": "nyc mocha",
"prepare": "npm run build",
"rabbitmq:start": "docker compose -f rabbit-docker-compose.yml up",
"kafka:start": "KAFKA_TOPICS=${KAFKA_TOPICS:-orka.example.test:1:1} HOST_IP=$(ifconfig | grep -E \"([0-9]{1,3}\\.){3}[0-9]{1,3}\" | grep -v 127.0.0.1 | awk '{ print $2 }' | cut -f2 -d: | head -n1) docker compose -f kafka-docker-compose.yml up",
"kafka:start:ci": "KAFKA_TOPICS=${KAFKA_TOPICS:-orka.example.test:1:1} HOST_IP=$(ifconfig | grep -E \"([0-9]{1,3}\\.){3}[0-9]{1,3}\" | grep -v 127.0.0.1 | awk '{ print $2 }' | cut -f2 -d: | head -n1) docker compose -f kafka-docker-compose.yml up -d"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"prettier",
"git add"
]
},
"author": "Nikos Kostoulas <[email protected]>",
"contributors": [
"Anastasios Kakalis <[email protected]>"
],
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/Workable/orka.git"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true
},
"dependencies": {
"@google-cloud/debug-agent": "^5.2.8",
"@honeybadger-io/js": "^6.5.3",
"@workablehr/riviere": "*",
"chalk": "^2.4.2",
"codependency": "^2.1.0",
"diamorphosis": "^1.1.0",
"fast-koa-router": "^1.3.0",
"joi": "^17.5.0",
"koa": "^2.14.2",
"koa-bodyparser": "^4.2.1",
"koa-compress": "^3.0.0",
"koa2-cors": "^2.0.6",
"lodash": "^4.17.15",
"log4js": "^6.7.1",
"mongoose": "^8.7.0",
"ms": "^2.1.3",
"node-cron": "^2.0.3",
"qs": "^6.10.3",
"rabbit-queue": "*",
"redis": "^3.1.1",
"sanitize-html": "^2.7.0",
"source-map-support": "^0.5.16",
"tsconfig-paths": "^3.9.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/amqplib": "^0.5.13",
"@types/bull": "^3.14.0",
"@types/joi": "^17.2.3",
"@types/koa": "^2.13.9",
"@types/koa-bodyparser": "^4.3.0",
"@types/lodash": "^4.14.147",
"@types/mocha": "^5.2.6",
"@types/node": "^20.7.0",
"@types/pg": "^7.14.11",
"@types/qs": "^6.9.7",
"@types/redis": "^2.8.14",
"@types/sinon": "^7.5.0",
"axios": "*",
"bull": "*",
"dd-trace": ">=4.30.0",
"growthbook": "npm:@growthbook/growthbook@*",
"husky": "^3.0.9",
"kafkajs": "^2.0.0",
"lint-staged": "^9.4.3",
"mocha": "^11.0.1",
"mock-require": "^3.0.3",
"newrelic": "*",
"nock": "^13.0.5",
"nyc": "^15.1.0",
"pg": "*",
"prettier": "^2.2.1",
"prom-client": "*",
"proxyquire": "^2.1.3",
"should": "^13.2.3",
"sinon": "^7.5.0",
"snap-shot-it": "^7.9.6",
"supertest": "^4.0.2",
"ts-node": "^9.1.1",
"tslint": "^5.20.1",
"typescript": "^5.2.2"
},
"optionalPeerDependencies": {
"bull": "*",
"dd-trace": ">=4.30.0",
"newrelic": "*",
"prom-client": "*",
"pg": "*",
"kafkajs": "^2.0.0",
"axios": "*",
"growthbook": "*"
}
}