UNPKG

@mittwald/kubernetes

Version:

Kubernetes client library

76 lines (75 loc) 2.55 kB
{ "version": "3.7.1", "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.8.2", "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" } }