-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
81 lines (81 loc) · 3.21 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
{
"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"
},
"files": [
"/dist",
"/src"
],
"version": "0.0.0-development",
"main": "dist/lib.js",
"types": "dist/lib.d.ts",
"scripts": {
"ci": "npm ci",
"gen-data-json": "node hack/build-template-data.js",
"prebuild": "rm -fr dist/* && npm run gen-data-json",
"version": "node scripts/set-version.js",
"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.2",
"express": "4.19.2",
"fast-json-patch": "3.1.1",
"json-pointer": "^0.6.2",
"kubernetes-fluent-client": "3.0.2",
"pino": "9.3.2",
"pino-pretty": "11.2.2",
"prom-client": "15.1.3",
"ramda": "0.30.1"
},
"devDependencies": {
"@commitlint/cli": "19.4.1",
"@commitlint/config-conventional": "19.4.1",
"@fast-check/jest": "^2.0.1",
"@jest/globals": "29.7.0",
"@types/eslint": "9.6.1",
"@types/express": "4.17.21",
"@types/json-pointer": "^1.0.34",
"@types/node": "22.x.x",
"@types/node-forge": "1.3.11",
"@types/prompts": "2.4.9",
"@types/uuid": "10.0.0",
"fast-check": "^3.19.0",
"jest": "29.7.0",
"js-yaml": "^4.1.0",
"nock": "^13.5.4",
"ts-jest": "29.2.5"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"commander": "12.1.0",
"esbuild": "0.23.0",
"eslint": "8.57.0",
"node-forge": "1.3.1",
"prettier": "3.3.3",
"prompts": "2.4.2",
"typescript": "5.3.3",
"uuid": "10.0.0"
}
}