forked from snyk/broker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.6 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
{
"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": "npm run build && 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": "tsc-watch --project tsconfig.json --onSuccess 'node dist/cli/index.js client' | ./node_modules/.bin/bunyan",
"test": "npm run test:unit && npm run test:functional",
"test:unit": "jest --detectOpenHandles unit",
"test:functional": "jest --detectOpenHandles functional",
"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.0.13",
"@types/bunyan": "^1.8.8",
"@types/global-agent": "^2.1.1",
"@types/jest": "^28.1.3",
"@types/minimist": "1.2.5",
"@types/node": "^18.15.11",
"@types/prettier": "2.6.0",
"@typescript-eslint/eslint-plugin": "^5.30.4",
"@typescript-eslint/parser": "^5.30.4",
"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",
"prettier": "^2.0.5",
"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": {
"axios": "1.6.8",
"axios-retry": "^3.9.1",
"body-parser": "^1.19.0",
"bunyan": "^1.8.12",
"camelcase": "^5.3.1",
"clarify": "^2.0.0",
"dotenv": "^16.4.5",
"ejson": "^2.2.0",
"engine.io": "^6.5.4",
"engine.io-client": "^5.2.0",
"express": "^4.19.2",
"express-prom-bundle": "^5.1.5",
"global-agent": "^3.0.0",
"js-yaml": "^3.13.1",
"lodash.escaperegexp": "^4.1.2",
"lodash.mapvalues": "^4.6.0",
"lodash.merge": "^4.6.2",
"minimatch": "^3.0.4",
"minimist": "^1.2.5",
"node-cache": "^5.1.0",
"openpgp": "^5.11.0",
"path-to-regexp": "^1.8.0",
"primus": "^6.1.0",
"primus-emitter": "^3.1.1",
"prom-client": "^11.5.3",
"proxy-from-env": "^1.1.0",
"qs": "^6.12.0",
"snyk-config": "^4.0.0",
"then-fs": "^2.0.0",
"tunnel": "0.0.6",
"undefsafe": "^2.0.2",
"uuid": "^8.1.0"
},
"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"
}
}