-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
71 lines (70 loc) · 2.95 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
{
"name": "pepr",
"description": "Kubernetes application engine",
"author": "Defense Unicorns",
"homepage": "https://github.com/defenseunicorns/pepr",
"license": "Apache-2.0",
"bin": "dist/cli.js",
"repository": "defenseunicorns/pepr",
"engines": {
"node": ">=18.0.0"
},
"version": "0.0.0-development",
"main": "dist/lib.js",
"types": "dist/lib.d.ts",
"scripts": {
"gen-data-json": "node hack/build-template-data.js",
"prebuild": "rm -fr dist/* && npm run gen-data-json",
"build": "tsc && node build.mjs",
"build:image": "npm run build && docker buildx build --tag pepr:dev .",
"test": "npm run test:unit && npm run test:journey",
"test:unit": "npm run gen-data-json && jest src --coverage --detectOpenHandles --coverageDirectory=./coverage",
"test:journey": "npm run test:journey:k3d && npm run test:journey:build && npm run test:journey:image && npm run test:journey:run",
"test:journey:prep": "if [ ! -d ./pepr-upgrade-test ]; then git clone https://github.com/defenseunicorns/pepr-upgrade-test.git ; fi",
"test:journey-wasm": "npm run test:journey:k3d && npm run test:journey:build && npm run test:journey:image && npm run test:journey:run-wasm",
"test:journey:k3d": "k3d cluster delete pepr-dev && k3d cluster create pepr-dev --k3s-arg '--debug@server:0' --wait && kubectl rollout status deployment -n kube-system",
"test:journey:build": "npm run build && npm pack",
"test:journey:image": "docker buildx build --tag pepr:dev . && k3d image import pepr:dev -c pepr-dev",
"test:journey:run": "jest --detectOpenHandles journey/entrypoint.test.ts && npm run test:journey:prep && npm run test:journey:upgrade",
"test:journey:run-wasm": "jest --detectOpenHandles journey/entrypoint-wasm.test.ts",
"test:journey:upgrade": "npm run test:journey:k3d && npm run test:journey:image && jest --detectOpenHandles journey/pepr-upgrade.test.ts",
"format:check": "eslint src && prettier src --check",
"format:fix": "eslint src --fix && prettier src --write"
},
"dependencies": {
"@types/ramda": "0.30.0",
"express": "4.19.2",
"fast-json-patch": "3.1.1",
"kubernetes-fluent-client": "2.6.1",
"pino": "9.2.0",
"pino-pretty": "11.2.0",
"prom-client": "15.1.2",
"ramda": "0.30.1"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@jest/globals": "29.7.0",
"@types/eslint": "8.56.10",
"@types/express": "4.17.21",
"@types/node": "18.x.x",
"@types/node-forge": "1.3.11",
"@types/prompts": "2.4.9",
"@types/uuid": "9.0.8",
"jest": "29.7.0",
"nock": "13.5.4",
"ts-jest": "29.1.4"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"commander": "11.1.0",
"esbuild": "0.19.10",
"eslint": "8.56.0",
"node-forge": "1.3.1",
"prettier": "3.1.1",
"prompts": "2.4.2",
"typescript": "5.3.3",
"uuid": "9.0.1"
}
}