-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 5.4 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 5.4 KB
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "snyk-broker",
"description": "Broker for private communication between internal systems and outside public systems",
"main": "dist/lib/index.js",
"bin": {
"snyk-broker": "./dist/cli/index.js",
"broker": "./dist/cli/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc",
"format": "prettier --write '{lib,test,cli}/**/*.{js,ts}'",
"prepare:templates": "rm -rf ./dist/client-templates && cp -Rf ./client-templates ./dist",
"start": "node .",
"dev": "tsc-watch --project tsconfig.json --onSuccess 'node .' | ./node_modules/.bin/bunyan",
"dev:client": "LOG_LEVEL=debug NODE_ENV=development tsc-watch --project tsconfig.json --onSuccess 'node dist/cli/index.js client' | ./node_modules/.bin/bunyan",
"dev:client-to-local-server": "BROKER_SERVER_URL=http://localhost:9000 USE_LOCAL_BACKEND='true' LOG_LEVEL=debug PORT=9001 NODE_ENV=development tsc-watch --project tsconfig.json --onSuccess 'node dist/cli/index.js client' | ./node_modules/.bin/bunyan",
"dev:client2-to-local-server": "BROKER_SERVER_URL=http://localhost:9000 USE_LOCAL_BACKEND='true' LOG_LEVEL=debug PORT=9002 NODE_ENV=development tsc-watch --project tsconfig.json --onSuccess 'node dist/cli/index.js client' | ./node_modules/.bin/bunyan",
"dev:server": "LOG_LEVEL=debug PORT=9000 ACCEPT=accept-server.local.json NODE_ENV=development tsc-watch --project tsconfig.json --onSuccess 'node dist/cli/index.js server' | ./node_modules/.bin/bunyan",
"dev:server-with-auth": "BROKER_SERVER_MANDATORY_AUTH_ENABLED=true npm run dev:server",
"test": "npm run test:unit && npm run test:functional",
"test:unit": "jest unit --detectOpenHandles",
"test:functional": "jest functional --detectOpenHandles --runInBand",
"test:bin": "(cd test/bin; ./container-registry-agent/docker-entrypoint-test.sh)",
"test:bin:docker": "docker run --rm -it -v $PWD:/home/broker -w /home/broker/test/bin/ snyk/ubuntu ./container-registry-agent/docker-entrypoint-test.sh",
"lint": "npm run lint:check && npm run lint:code",
"lint:check": "prettier --check '{lib,test,cli}/**/*.{js,ts}'",
"lint:code": "eslint --color --cache '{cli,lib,test}/**/*.{js,ts}'"
},
"keywords": [],
"author": "Snyk.io",
"license": "Apache-2.0",
"directories": {
"test": "test"
},
"devDependencies": {
"@openpgp/web-stream-tools": "0.3.0",
"@types/body-parser": "~1.19.6",
"@types/bunyan": "~1.8.8",
"@types/compression": "~1.7.5",
"@types/eslint": "~7.2.14",
"@types/eslint-config-prettier": "~6.11.3",
"@types/express": "~4.17.21",
"@types/global-agent": "~2.1.1",
"@types/jest": "~28.1.3",
"@types/js-yaml": "4.0.9",
"@types/jsonwebtoken": "~9.0.6",
"@types/lodash.escaperegexp": "~4.1.9",
"@types/lodash.mapvalues": "~4.6.9",
"@types/minimatch": "~5.1.2",
"@types/minimist": "~1.2.5",
"@types/node": "~20.19.25",
"@types/prettier": "~2.6.0",
"@types/proxy-from-env": "~1.0.4",
"@types/qs": "~6.14.0",
"@types/semver": "~7.7.1",
"@types/supertest": "~6.0.2",
"@types/tunnel": "~0.0.7",
"@typescript-eslint/eslint-plugin": "~5.30.4",
"@typescript-eslint/parser": "~5.30.4",
"compression": "~1.8.0",
"detect-port": "~1.5.1",
"eslint": "~7.2.0",
"eslint-config-prettier": "~6.11.0",
"jest": "~29.7.0",
"jest-junit": "~11.0.1",
"jest-mock-server": "~0.1.0",
"nock": "~13.3.0",
"node-mocks-http": "~1.17.2",
"prettier": "~2.8.8",
"supertest": "~7.0.0",
"tmp-promise": "~3.0.2",
"ts-jest": "~29.1.2",
"ts-node": "~10.9.1",
"tsc-watch": "~4.2.3",
"typescript": "4.9.3"
},
"dependencies": {
"@opentelemetry/api": "1.9.0",
"@opentelemetry/exporter-metrics-otlp-grpc": "0.212.0",
"@opentelemetry/instrumentation": "0.212.0",
"@opentelemetry/instrumentation-runtime-node": "0.25.0",
"@opentelemetry/sdk-metrics": "2.5.1",
"axios": "1.13.5",
"axios-retry": "4.5.0",
"body-parser": "1.20.4",
"bunyan": "^1.8.12",
"camelcase": "^5.3.1",
"clarify": "^2.0.0",
"dotenv": "17.3.1",
"ejson": "^2.2.0",
"engine.io": "^6.6.4",
"engine.io-client": "^5.2.0",
"express": "4.22.1",
"express-prom-bundle": "^5.1.5",
"global-agent": "^3.0.0",
"js-yaml": "4.1.1",
"jsonwebtoken": "9.0.3",
"lodash.escaperegexp": "^4.1.2",
"lodash.mapvalues": "^4.6.0",
"lodash.merge": "^4.6.2",
"minimatch": "^3.1.5",
"minimist": "^1.2.5",
"node-cache": "^5.1.0",
"openpgp": "6.3.0",
"path-to-regexp": "^1.9.0",
"primus": "^6.1.0",
"primus-emitter": "^3.1.1",
"prom-client": "^11.5.3",
"proxy-from-env": "^1.1.0",
"qs": "6.14.2",
"semver": "7.7.3",
"snyk-config": "5.3.0",
"then-fs": "^2.0.0",
"tunnel": "0.0.6",
"undefsafe": "^2.0.2",
"uuid": "8.3.2"
},
"repository": {
"type": "git",
"url": "https://github.com/snyk/broker.git"
},
"bugs": {
"url": "https://github.com/snyk/broker/issues"
},
"homepage": "https://github.com/snyk/broker#readme",
"snyk": true,
"pkg": {
"scripts": [
"node_modules/primus/**/*.js",
"dist/lib/index.js"
],
"assets": [
"node_modules/ejson/**/*",
"dist/client-templates/**/*"
],
"targets": [
"node18-linux-x64",
"node18-linux-arm64"
],
"outputPath": "binary-releases"
},
"volta": {
"node": "20.11.0"
},
"overrides": {
"form-data": "4.0.4",
"ws": "7.5.10"
}
}