UNPKG

@controlplane/cli

Version:

Control Plane Corporation CLI

152 lines (151 loc) 4.77 kB
{ "name": "@controlplane/cli", "version": "3.14.1", "description": "Control Plane Corporation CLI", "bin": { "cpln": "dist/src/cpln.js", "docker-credential-cpln": "dist/src/docker-credential-cpln.js" }, "engines": { "node": ">=18" }, "scripts": { "build": "tsc && cp -r src/cli/completion/scripts dist/src/cli/completion/", "build:live": "tsc -w", "test": "jest --verbose --testPathIgnorePatterns test/", "test:w": "pnpm run test -- --watch", "test:cov": "jest --coverage --testPathIgnorePatterns test/", "pkg": "pnpm run build && pkg -c cpln.json --out-path dist/ dist/src/cpln.js && pkg -c docker-credential-cpln.json --out-path dist/ dist/src/docker-credential-cpln.js", "pkg-macos": "pnpm run build && pkg -c cpln-macos.json --out-path dist/ dist/src/cpln.js && pkg -c docker-credential-cpln-macos.json --out-path dist/ dist/src/docker-credential-cpln.js", "prepare:w": "cd login-ui && pnpm run build:w", "test-it": "pnpm run test-it:api && pnpm run test-it:workload", "test-it:api": "jest --verbose --testPathPattern test/it --testPathIgnorePatterns 'test/it/commands/workload/' --globalSetup '<rootDir>/test/globalSetup.ts'", "test-it:workload": "jest --verbose --runInBand --testPathPattern 'test/it/commands/workload/' --globalSetup '<rootDir>/test/globalSetup.ts'", "test-extended": "jest --verbose --config jest.extended.config.js --testPathPattern test/extended --globalSetup '<rootDir>/test/globalSetup.ts'", "test:cleanup": "ts-node test/cleanup.ts", "clean": "rm -fr dist", "debug:cli": "node --inspect-brk=19046 -r ts-node/register src/cpln.ts" }, "keywords": [ "Control Plane", "Control Plane Corporation", "Serverless", "Cloud", "Kubernetes", "AWS", "Azure", "GCP", "cli", "cpln" ], "dependencies": { "adm-zip": "^0.5.16", "async-mutex": "^0.5.0", "axios": "1.17.0", "axios-retry": "^4.5.0", "base32-encode": "^1.2.0", "base64url": "^3.0.1", "chalk": "^3.0.0", "cli-highlight": "^2.1.11", "cli-progress": "3.12.0", "express": "^5.1.0", "get-stdin-with-tty": "^6.0.0", "humanize-duration": "^3.32.1", "inquirer": "^8.2.6", "jose": "^5.9.6", "js-yaml": "^4.1.1", "json-colorizer": "^3.0.1", "json-stable-stringify": "^1.1.1", "jwt-decode": "^4.0.0", "lodash": "^4.18.1", "mkdirp": "^3.0.1", "open": "^8.4.2", "pako": "^2.1.0", "semver": "^7.6.3", "sha256-file": "^1.0.0", "table": "^6.9.0", "tar-stream": "^3.1.7", "targz": "^1.0.1", "tmp": "^0.2.4", "url-pattern": "^1.0.3", "uuid": "^11.1.1", "winston": "^3.17.0", "ws": "^8.21.0", "yargs": "^15.4.1" }, "files": [ "dist/src/*", "!dist/src/**/*.test.*", "!dist/src/**/*.ts", "!dist/**/*.map" ], "pnpm": { "overrides": { "braces": ">=3.0.3", "tar-fs": ">=2.1.4", "tmp": ">=0.2.6", "brace-expansion": ">=5.0.6", "js-yaml@<4.1.1": ">=4.1.1", "micromatch": ">=4.0.8", "@babel/helpers": ">=7.26.10", "form-data": ">=2.5.4", "tough-cookie": ">=4.1.3", "diff": ">=4.0.4", "qs": ">=6.15.2", "tar": ">=7.5.11", "handlebars": ">=4.7.9", "minimatch@<4": "3.1.5", "minimatch@>=10": "10.2.5", "@isaacs/brace-expansion": ">=5.0.1", "picomatch@<3": "2.3.2", "picomatch@>=4": "4.0.4", "rollup": ">=4.59.0", "ajv": ">=8.18.0", "lodash": ">=4.18.1", "esbuild": ">=0.25.0", "protobufjs": "^7.5.8", "@grpc/grpc-js": ">=1.12.7", "@protobufjs/utf8": ">=1.1.1", "fast-uri": "^3.1.2", "follow-redirects": ">=1.16.0" }, "ignoredBuiltDependencies": [ "esbuild" ], "auditConfig": { "ignoreGhsas": [ "GHSA-gv7w-rqvm-qjhr" ] } }, "devDependencies": { "@controlplane/schema": "^1.0.22", "@types/adm-zip": "^0.5.7", "@types/cli-progress": "3.11.6", "@types/express": "^5.0.0", "@types/humanize-duration": "^3.27.4", "@types/inquirer": "^9.0.9", "@types/jest": "^29.5.14", "@types/js-yaml": "^4.0.9", "@types/lodash": "^4.17.13", "@types/minimist": "^1.2.5", "@types/node": "^25.0.3", "@types/pako": "^2.0.3", "@types/semver": "^7.5.8", "@types/tabtab": "^3.0.4", "@types/tar-stream": "^3.1.3", "@types/tmp": "^0.2.6", "@types/ws": "^8.5.13", "@types/yargs": "^15.0.19", "@yao-pkg/pkg": ">=6.2.0 <6.14.0", "buffer": "^6.0.3", "dependency-cruiser": "^17.3.5", "jest": "^29.7.0", "prettier": "^3.4.2", "process": "^0.11.10", "rimraf": "^6.1.3", "ts-jest": "^29.4.9", "ts-node": "^10.9.2", "typescript": "^5.7.2" } }