{ "name": "balena-cli", "version": "16.7.2", "description": "The official balena Command Line Interface", "main": "./build/app.js", "homepage": "https://github.com/balena-io/balena-cli", "repository": { "type": "git", "url": "git@github.com:balena-io/balena-cli.git" }, "preferGlobal": true, "files": [ "bin/.fast-boot.json", "bin/", "build/", "doc/", "lib/", "patches/", "*.md", "npm-shrinkwrap.json", "oclif.manifest.json" ], "bin": { "balena": "./bin/balena" }, "pkg": { "scripts": [ "build/**/*.js", "node_modules/balena-sdk/es2018/index.js", "node_modules/pinejs-client-request/node_modules/pinejs-client-core/es2018/index.js", "node_modules/@balena/compose/dist/parse/schemas/*.json" ], "assets": [ "build/auth/pages/*.ejs", "node_modules/resin-discoverable-services/services/**/*", "node_modules/balena-sdk/node_modules/balena-pine/**/*", "node_modules/balena-pine/**/*", "node_modules/pinejs-client-core/**/*", "node_modules/opn/xdg-open", "node_modules/open/xdg-open", "node_modules/windosu/*.bat", "node_modules/windosu/*.cmd", "npm-shrinkwrap.json", "oclif.manifest.json" ] }, "scripts": { "postinstall": "node patches/apply-patches.js", "prebuild": "rimraf build/ build-bin/", "build": "npm run build:src && npm run catch-uncommitted", "build:t": "npm run lint && npm run build:fast && npm run build:test", "build:src": "npm run lint && npm run build:fast && npm run build:test && npm run build:doc && npm run build:completion", "build:pages": "mkdirp ./build/auth/pages/&& inline-source --compress ./lib/auth/pages/error.ejs ./build/auth/pages/error.ejs && inline-source --compress ./lib/auth/pages/success.ejs ./build/auth/pages/success.ejs", "build:fast": "npm run build:pages && tsc && npx oclif manifest", "build:test": "tsc -P ./tsconfig.dev.json --noEmit", "build:doc": "ts-node --transpile-only automation/capitanodoc/index.ts > docs/balena-cli.md", "build:completion": "node completion/generate-completion.js", "build:standalone": "ts-node --transpile-only automation/run.ts build:standalone", "build:installer": "ts-node --transpile-only automation/run.ts build:installer", "package": "npm run build:fast && npm run build:standalone && npm run build:installer", "release": "ts-node --transpile-only automation/run.ts release", "pretest": "npm run build", "test": "npm run test:shrinkwrap && npm run test:source && npm run test:standalone", "test:shrinkwrap": "ts-node --transpile-only automation/run.ts test-shrinkwrap", "test:source": "cross-env BALENA_CLI_TEST_TYPE=source mocha", "test:standalone": "npm run build:standalone && npm run test:standalone:fast", "test:standalone:fast": "cross-env BALENA_CLI_TEST_TYPE=standalone mocha --config .mocharc-standalone.js", "test:fast": "npm run build:fast && npm run test:source", "test:debug": "cross-env BALENA_CLI_TEST_TYPE=source mocha --inspect-brk=0.0.0.0", "test:only": "npm run build:fast && cross-env BALENA_CLI_TEST_TYPE=source mocha \"tests/**/${npm_config_test}.spec.ts\"", "catch-uncommitted": "ts-node --transpile-only automation/run.ts catch-uncommitted", "ci": "npm run test && npm run catch-uncommitted", "lint": "npm run lint-tsconfig && npm run lint-other", "lint-tsconfig": "balena-lint -e ts -e js -t tsconfig.dev.json --fix automation/ lib/ tests/ typings/", "lint-other": "balena-lint -e ts -e js --fix bin/balena bin/balena-dev completion/ .mocharc.js .mocharc-standalone.js", "update": "ts-node --transpile-only ./automation/update-module.ts", "prepare": "echo {} > bin/.fast-boot.json", "prepublishOnly": "npm run build" }, "keywords": [ "balena", "balena.io", "balenaCloud", "balenaOS", "resin", "resin.io", "git" ], "author": "Balena Inc. (https://balena.io/)", "license": "Apache-2.0", "engines": { "node": ">=16 <18" }, "husky": { "hooks": { "pre-commit": "node automation/check-npm-version.js && ts-node automation/check-doc.ts" } }, "oclif": { "bin": "balena", "commands": "./build/commands", "helpClass": "./build/help", "hooks": { "prerun": "./build/hooks/prerun/track", "command_not_found": "./build/hooks/command-not-found/suggest" }, "macos": { "identifier": "io.balena.cli", "sign": "Developer ID Installer: Balena Ltd (66H43P8FRG)" }, "plugins": [ "@oclif/plugin-help" ] }, "devDependencies": { "@balena/lint": "^6.2.2", "@electron/notarize": "^2.0.0", "@oclif/config": "^1.18.2", "@oclif/parser": "^3.8.6", "@octokit/plugin-throttling": "^3.5.1", "@octokit/rest": "^18.6.7", "@types/archiver": "^5.1.1", "@types/bluebird": "^3.5.36", "@types/body-parser": "^1.19.2", "@types/chai": "^4.3.0", "@types/chai-as-promised": "^7.1.4", "@types/cli-truncate": "^2.0.0", "@types/common-tags": "^1.8.1", "@types/dockerode": "^3.3.9", "@types/ejs": "^3.1.0", "@types/express": "^4.17.13", "@types/fs-extra": "^9.0.13", "@types/global-agent": "^2.1.1", "@types/global-tunnel-ng": "^2.1.1", "@types/http-proxy": "^1.17.8", "@types/inquirer": "^7.3.3", "@types/intercept-stdout": "^0.1.0", "@types/is-root": "^2.1.2", "@types/js-yaml": "^4.0.5", "@types/jsonwebtoken": "^8.5.6", "@types/klaw": "^3.0.3", "@types/lodash": "^4.14.178", "@types/mixpanel": "^2.14.3", "@types/mocha": "^8.2.3", "@types/mock-require": "^2.0.1", "@types/moment-duration-format": "^2.2.3", "@types/ndjson": "^2.0.1", "@types/net-keepalive": "^0.4.1", "@types/nock": "^11.1.0", "@types/node": "^16.18.25", "@types/node-cleanup": "^2.1.2", "@types/parse-link-header": "^1.0.1", "@types/prettyjson": "^0.0.30", "@types/progress-stream": "^2.0.2", "@types/request": "^2.48.7", "@types/rewire": "^2.5.28", "@types/rimraf": "^3.0.2", "@types/semver": "^7.3.9", "@types/shell-escape": "^0.2.0", "@types/sinon": "^10.0.6", "@types/split": "^1.0.0", "@types/stream-to-promise": "^2.2.1", "@types/tar-stream": "^2.2.2", "@types/through2": "^2.0.36", "@types/tmp": "^0.2.3", "@types/which": "^2.0.1", "archiver": "^5.3.0", "catch-uncommitted": "^2.0.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.3", "deep-object-diff": "^1.1.0", "diff": "^5.0.0", "ent": "^2.2.0", "filehound": "^1.17.5", "fs-extra": "^9.1.0", "http-proxy": "^1.18.1", "husky": "^4.3.8", "inline-source-cli": "^2.0.0", "intercept-stdout": "^0.1.2", "jsonwebtoken": "^8.5.1", "mkdirp": "^1.0.4", "mocha": "^8.4.0", "mock-require": "^3.0.3", "nock": "^13.2.1", "parse-link-header": "^2.0.0", "pkg": "^5.8.1", "publish-release": "^1.6.1", "rewire": "^5.0.0", "simple-git": "^3.14.1", "sinon": "^11.1.2", "ts-node": "^10.4.0", "typescript": "^5.1.3" }, "dependencies": { "@balena/compose": "^3.0.2", "@balena/dockerignore": "^1.0.2", "@balena/es-version": "^1.0.1", "@oclif/command": "^1.8.16", "@resin.io/valid-email": "^0.1.0", "@sentry/node": "^6.16.1", "@types/fast-levenshtein": "0.0.1", "@types/update-notifier": "^4.1.1", "balena-config-json": "^4.2.0", "balena-device-init": "^6.0.0", "balena-errors": "^4.7.3", "balena-image-fs": "^7.0.6", "balena-image-manager": "^9.0.0", "balena-preload": "^14.0.0", "balena-sdk": "^17.8.0", "balena-semver": "^2.3.0", "balena-settings-client": "^5.0.2", "balena-settings-storage": "^7.0.0", "bluebird": "^3.7.2", "body-parser": "^1.19.1", "chalk": "^3.0.0", "chokidar": "^3.5.2", "cli-truncate": "^2.1.0", "cli-ux": "^5.5.1", "color-hash": "^1.1.1", "columnify": "^1.5.2", "common-tags": "^1.7.2", "denymount": "^2.3.0", "docker-modem": "3.0.0", "docker-progress": "^5.1.3", "dockerode": "3.3.3", "ejs": "^3.1.6", "etcher-sdk": "^8.5.3", "event-stream": "3.3.4", "express": "^4.17.2", "fast-boot2": "^1.1.0", "fast-levenshtein": "^3.0.0", "filenamify": "^4.3.0", "get-stdin": "^8.0.0", "glob": "^7.2.0", "global-agent": "^2.2.0", "global-tunnel-ng": "^2.1.1", "got": "^11.8.3", "humanize": "0.0.9", "inquirer": "^7.3.3", "is-elevated": "^3.0.0", "is-root": "^2.1.0", "js-yaml": "^4.1.0", "JSONStream": "^1.0.3", "klaw": "^3.0.0", "livepush": "^3.5.1", "lodash": "^4.17.21", "minimatch": "^3.0.4", "moment": "^2.29.1", "moment-duration-format": "^2.3.2", "ndjson": "^2.0.0", "net-keepalive": "^3.0.0", "node-cleanup": "^2.1.2", "node-unzip-2": "^0.2.8", "oclif": "^1.18.4", "open": "^7.1.0", "patch-package": "^6.4.7", "prettyjson": "^1.2.5", "progress-stream": "^2.0.0", "reconfix": "^1.0.0-v0-1-0-fork-46760acff4d165f5238bfac5e464256ef1944476", "request": "^2.88.2", "resin-cli-form": "^2.0.2", "resin-cli-visuals": "^1.8.3", "resin-discoverable-services": "^2.0.4", "resin-doodles": "^0.2.0", "resin-stream-logger": "^0.1.2", "rimraf": "^3.0.2", "semver": "^7.3.5", "shell-escape": "^0.2.0", "split": "^1.0.1", "stream-to-promise": "^2.2.0", "string-width": "^4.2.3", "strip-ansi-stream": "^1.0.0", "tar-stream": "^2.1.3", "tar-utils": "^2.1.1", "through2": "^2.0.3", "tmp": "^0.2.1", "typed-error": "^3.2.1", "update-notifier": "^5.1.0", "which": "^2.0.2", "window-size": "^1.1.0" }, "optionalDependencies": { "windosu": "^0.3.0" }, "versionist": { "publishedAt": "2023-07-19T01:43:54.818Z" } }