forked from snyk/kubernetes-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 4 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
{
"name": "@snyk/kubernetes-monitor",
"private": true,
"description": "Snyk Kubernetes Monitoring Container",
"repository": {
"type": "git",
"url": "https://github.com/snyk/kubernetes-monitor.git"
},
"license": "private",
"author": "snyk.io",
"main": "dist/index.js",
"scripts": {
"local": "./scripts/local-testing.sh",
"pretest": "./scripts/docker/build-image.sh",
"test": "npm run lint && npm run build && npm run test:unit && npm run test:integration:kind:helm",
"test:unit": "jest --logHeapUsage --ci --bail --forceExit test/unit",
"test:system": "jest --logHeapUsage --ci --maxWorkers=1 test/system",
"test:integration:kind:yaml": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=kind CREATE_CLUSTER=true jest --logHeapUsage --ci --maxWorkers=1 test/integration/kubernetes.spec.ts",
"test:integration:kind:helm": "DEPLOYMENT_TYPE=Helm TEST_PLATFORM=kind CREATE_CLUSTER=true jest --logHeapUsage --ci --maxWorkers=1 test/integration/kubernetes.spec.ts",
"test:integration:kind:proxy": "DEPLOYMENT_TYPE=Proxy TEST_PLATFORM=kind CREATE_CLUSTER=true jest --logHeapUsage --ci --maxWorkers=1 test/integration/kubernetes.spec.ts",
"test:integration:kindolm:operator": "DEPLOYMENT_TYPE=OperatorOLM TEST_PLATFORM=kindolm CREATE_CLUSTER=true jest --logHeapUsage --ci --maxWorkers=1 test/integration/kubernetes.spec.ts",
"test:integration:eks:yaml": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=eks CREATE_CLUSTER=false jest --logHeapUsage --ci --maxWorkers=1 test/integration/kubernetes.spec.ts",
"test:integration:aks:yaml": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=aks CREATE_CLUSTER=false jest --logHeapUsage --ci --maxWorkers=1 test/integration/kubernetes.spec.ts",
"test:integration:openshift3:yaml": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=openshift3 CREATE_CLUSTER=true jest --logHeapUsage --ci --maxWorkers=1 test/integration/kubernetes.spec.ts",
"test:integration:openshift4:operator": "scripts/test-openshift4.sh",
"test:coverage": "npm run test:unit -- --coverage",
"test:watch": "tsc-watch --onSuccess 'npm run test:unit'",
"start": "bin/start",
"build": "tsc",
"dev": "tsc-watch --project tsconfig.json --onSuccess 'node --inspect .'",
"debug": "tsc-watch --project tsconfig.json --onSuccess 'node --inspect-brk .'",
"lint": "npm run lint:commit && npm run lint:eslint",
"lint:eslint": "eslint \"src/**/*.ts\" && (cd test && eslint \"**/*.ts\")",
"lint:commit": "commitlint --from=$(git rev-parse origin/staging)",
"format": "prettier --write '{src,test}/**/*.{js,ts,json,yml}'",
"format:check": "prettier --check '{src,test}/**/*.{js,ts,json,yml}'"
},
"dependencies": {
"@kubernetes/client-node": "^0.15.1",
"@snyk/dep-graph": "^1.29.0",
"async": "^3.2.2",
"aws-sdk": "^2.1032.0",
"bunyan": "^1.8.15",
"child-process-promise": "^2.2.1",
"fs-extra": "^10.0.0",
"lru-cache": "^6.0.0",
"needle": "^3.0.0",
"sleep-promise": "^9.1.0",
"snyk-config": "5.0.0",
"snyk-docker-plugin": "^4.26.1",
"source-map-support": "^0.5.21",
"tunnel": "0.0.6",
"typescript": "^4.5.2",
"yaml": "^1.10.2"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@types/async": "^3.2.10",
"@types/child-process-promise": "^2.2.2",
"@types/jest": "^26.0.21",
"@types/lru-cache": "^5.1.0",
"@types/needle": "^2.5.2",
"@types/node": "^16.11.9",
"@types/tunnel": "0.0.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"jest": "^26.6.3",
"nock": "^13.0.11",
"prettier": "^2.4.1",
"ts-jest": "^26.5.6",
"ts-node": "^10.4.0",
"tsc-watch": "^4.5.0"
},
"release": {
"branches": "staging",
"verifyConditions": [
"@semantic-release/github"
],
"publish": [
"@semantic-release/github"
],
"success": [
"@semantic-release/github"
],
"fail": [
"@semantic-release/github"
]
},
"snyk": true
}