-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
88 lines (88 loc) · 3.5 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
{
"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",
"!src/**/*.test.ts",
"!dist/**/*.test.d.ts*"
],
"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 && npm pack",
"build:image": "npm run build && docker buildx build --output type=docker --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 --testPathIgnorePatterns='cosign.e2e.test.ts'",
"test:journey": "npm run test:journey:k3d && npm run 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 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:image": "docker buildx build --output type=docker --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",
"prepare": "if [ \"$NODE_ENV\" != 'production' ]; then husky; fi"
},
"dependencies": {
"@types/ramda": "0.30.2",
"express": "4.21.1",
"fast-json-patch": "3.1.1",
"follow-redirects": "1.15.9",
"http-status-codes": "^2.3.0",
"json-pointer": "^0.6.2",
"kubernetes-fluent-client": "3.3.4",
"pino": "9.5.0",
"pino-pretty": "13.0.0",
"prom-client": "15.1.3",
"ramda": "0.30.1",
"sigstore": "3.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.6.0",
"@commitlint/config-conventional": "19.6.0",
"@fast-check/jest": "^2.0.1",
"@jest/globals": "29.7.0",
"@types/eslint": "9.6.1",
"@types/express": "5.0.0",
"@types/follow-redirects": "1.14.4",
"@types/json-pointer": "^1.0.34",
"@types/node": "22.x.x",
"@types/node-forge": "1.3.11",
"@types/uuid": "10.0.0",
"fast-check": "^3.19.0",
"husky": "^9.1.6",
"jest": "29.7.0",
"js-yaml": "^4.1.0",
"nock": "^13.5.4",
"ts-jest": "29.2.5"
},
"peerDependencies": {
"@types/prompts": "2.4.9",
"@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"
}
}