-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 2.49 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
{
"version": "1.0.0",
"license": "MIT",
"author": "Martin Helmich <m.helmich@mittwald.de>",
"name": "@mittwald/kubernetes",
"description": "Kubernetes client library",
"main": "index.js",
"typings": "index.d.ts",
"scripts": {
"generate": "yarn generate:index",
"generate:index": "node scripts/build-index.js",
"compile": "yarn tsc -p tsconfig.build.json",
"test": "yarn test:unit && yarn test:compile",
"test:unit": "jest --color --silent --verbose --passWithNoTests",
"test:compile": "tsc -p tsconfig.test.json",
"test:all-formatted": "prettier --check -c ./.prettierrc '**/*.{ts,tsx,yaml,yml,json,md}'",
"lint": "eslint 'src/**/*.{ts,tsx}' --fix",
"lint:staged": "git -C ${PWD} diff --relative --staged --diff-filter=ACMR --name-only -- 'src/**/*.ts' 'src/**/*.tsx' | xargs eslint || (echo 'ESlint failed. Run `yarn lint` to see error details' && exit 1)",
"format": "prettier --write -c ./.prettierrc '**/*.{ts,tsx,yaml,yml,json,md}'",
"format:staged": "echo $(git -C ${PWD} diff --relative --staged --diff-filter=ACMR --name-only -- '*ts' '*.tsx' '*.json' '*.md' '*.yaml' '*.yml') package.json | xargs prettier --write",
"ts-out-dir": "cat tsconfig.json | yarn -s jp --log /compilerOptions/outDir",
"clean": "mkdir -p ./$(yarn -s ts-out-dir) && rm -rf ./$(yarn -s ts-out-dir)/*"
},
"engines": {
"node": ">=18.0"
},
"dependencies": {
"axios": "^1.7.4",
"bottleneck": "^2.19.5",
"debug": "^4.1.1",
"jsonschema": "^1.2.6",
"lodash": "^4.17.21",
"prom-client": "^12.0.0",
"qs": "^6.11.1",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/deep-equal": "^1.0.1",
"@types/jest": "29.5.0",
"@types/lodash": "^4.14.149",
"@types/node": "^18.11.10",
"@types/qs": "^6.9.7",
"@types/yamljs": "^0.2.30",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"deep-equal": "^2.0.2",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"nock": "^12.0.3",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"typescript": "4.5.5"
},
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node",
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "/tests/.*test.*$",
"moduleFileExtensions": [
"js",
"ts",
"tsx"
]
},
"resolutions": {
"@types/node": "^18.11.10"
}
}