forked from defenseunicorns/pepr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.84 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
{
"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",
"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": "git clone https://github.com/defenseunicorns/pepr-upgrade-test.git",
"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.29.9",
"express": "4.18.2",
"fast-json-patch": "3.1.1",
"kubernetes-fluent-client": "2.1.0",
"pino": "8.17.2",
"pino-pretty": "10.3.1",
"prom-client": "15.1.0",
"ramda": "0.29.1"
},
"devDependencies": {
"@commitlint/cli": "18.4.4",
"@commitlint/config-conventional": "18.4.4",
"@jest/globals": "29.7.0",
"@types/eslint": "8.56.2",
"@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.7",
"jest": "29.7.0",
"nock": "13.5.0",
"ts-jest": "29.1.1"
},
"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"
}
}