-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
44 lines (44 loc) · 1.52 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
{
"name": "amplitude-proxy",
"version": "1.0.0",
"main": "serve.js",
"description": "Application that whitelists and forwards traffic to amplitudes servers.",
"repository": "https://github.com/navikt/amplitude-proxy.git",
"author": "NAV",
"license": "MIT",
"scripts": {
"ensure-test-features": "node ./test-utils/ensure-test-features.js",
"blackbox": "npm run up && wait-on http://localhost:4243/health/is-ready && mocha blackbox-test.js",
"serve": "nodemon",
"test": "npm run kafka-up && mocha \"src/**/*.spec.js\" --timeout 5000",
"up": "docker compose -f docker-compose.yml up -d --no-recreate --quiet-pull",
"kafka-up": "docker compose -f docker-compose-kafka.yml up -d --no-recreate --quiet-pull",
"all-up": "docker compose -f docker-compose-kafka.yml -f docker-compose.yml up -d --no-recreate --quiet-pull",
"down": "docker compose -f docker-compose-kafka.yml -f docker-compose.yml down"
},
"dependencies": {
"ajv": "8.12.0",
"axios": "1.6.8",
"fastify": "4.28.1",
"@fastify/cors": "9.0.1",
"@fastify/formbody": "^7.4.0",
"fastify-metrics": "10.6.0",
"@fastify/static": "7.0.1",
"geoip-lite": "^1.4.10",
"isbot": "5.1.6",
"kafkajs": "^2.2.4",
"pino": "^8.19.0",
"prom-client": "^15.1.2",
"shortid": "^2.2.15"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"mocha": "^10.4.0",
"nock": "13.5.4",
"nodemon": "^3.1.0",
"pino-pretty": "^10.2.3",
"uuid": "9.0.1",
"wait-on": "^7.2.0",
"yaml": "2.4.2"
}
}