{ "name": "balena-cli", "version": "12.3.4", "description": "The official balena CLI tool", "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/", "build/", "doc/", "lib/", "patches0/", "patches/", "*.md", "npm-shrinkwrap.json", "oclif.manifest.json" ], "bin": { "balena": "./bin/balena" }, "pkg": { "scripts": [ "node_modules/balena-sync/build/capitano/*.js", "node_modules/balena-sync/build/sync/*.js", "node_modules/resin-compose-parse/build/schemas/*.json" ], "assets": [ "build/**/*.js", "build/actions-oclif", "build/auth/pages/*.ejs", "build/hooks", "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", "oclif.manifest.json" ] }, "scripts": { "postinstall": "patch-package --patch-dir patches0 && patch-package", "prebuild": "rimraf build/ build-bin/", "build": "npm run build:src && npm run catch-uncommitted", "build:src": "npm run lint && npm run build:fast && npm run build:test && npm run build:doc", "build:fast": "gulp pages && tsc && npx oclif-dev manifest", "build:test": "tsc -P ./tsconfig.dev.json --noEmit && tsc -P ./tsconfig.js.json --noEmit", "build:doc": "mkdirp doc/ && ts-node --transpile-only automation/capitanodoc/index.ts > doc/cli.markdown", "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:source && npm run test:standalone", "test:source": "mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"", "test:standalone": "npm run build:standalone && cross-env BALENA_CLI_TEST_TYPE=standalone npm run test:source", "test:standalone:fast": "cross-env BALENA_CLI_TEST_TYPE=standalone npm run test:source", "test:fast": "npm run build:fast && mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"", "test:only": "npm run build:fast && mocha --timeout 6000 -r ts-node/register/transpile-only \"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", "watch": "gulp watch", "lint": "balena-lint -e ts -e js --typescript --fix automation/ lib/ typings/ tests/ gulpfile.js", "update": "ts-node --transpile-only ./automation/update-module.ts", "prepublishOnly": "npm run build" }, "keywords": [ "balena", "balena.io", "balenaCloud", "balenaOS", "resin", "resin.io", "git" ], "author": "Juan Cruz Viotti ", "license": "Apache-2.0", "engines": { "node": ">=10.0.0" }, "husky": { "hooks": { "pre-commit": "node automation/check-npm-version.js && node automation/check-doc.js" } }, "oclif": { "bin": "balena", "commands": "./build/actions-oclif", "hooks": { "prerun": "./build/hooks/prerun/track" }, "macos": { "identifier": "io.balena.cli", "sign": "Developer ID Installer: Rulemotion Ltd (66H43P8FRG)" } }, "devDependencies": { "@balena/lint": "^5.1.0", "@oclif/config": "^1.14.0", "@oclif/dev-cli": "1.22.0", "@oclif/parser": "^3.8.4", "@octokit/plugin-throttling": "^2.7.1", "@octokit/rest": "^16.43.1", "@types/archiver": "^2.1.3", "@types/bluebird": "^3.5.31", "@types/body-parser": "^1.19.0", "@types/chai": "^4.2.11", "@types/chai-as-promised": "^7.1.1", "@types/chokidar": "^2.1.3", "@types/cli-truncate": "^1.1.0", "@types/common-tags": "^1.8.0", "@types/dockerode": "^2.5.27", "@types/ejs": "^3.0.2", "@types/express": "^4.17.3", "@types/fs-extra": "^8.1.0", "@types/global-agent": "^2.1.0", "@types/global-tunnel-ng": "^2.1.0", "@types/http-proxy": "^1.17.4", "@types/intercept-stdout": "^0.1.0", "@types/is-root": "^2.1.2", "@types/js-yaml": "^3.12.3", "@types/klaw": "^3.0.1", "@types/lodash": "^4.14.150", "@types/mixpanel": "^2.14.2", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", "@types/mock-require": "^2.0.0", "@types/moment-duration-format": "^2.2.2", "@types/net-keepalive": "^0.4.0", "@types/nock": "^11.0.7", "@types/node": "^10.17.20", "@types/node-cleanup": "^2.1.1", "@types/prettyjson": "0.0.29", "@types/progress-stream": "^2.0.0", "@types/request": "^2.48.4", "@types/rewire": "^2.5.28", "@types/rimraf": "^2.0.4", "@types/shell-escape": "^0.2.0", "@types/sinon": "^9.0.3", "@types/split": "^1.0.0", "@types/stream-to-promise": "2.2.0", "@types/tar-stream": "^2.1.0", "@types/through2": "^2.0.34", "@types/tmp": "0.0.34", "@types/which": "^1.3.2", "catch-uncommitted": "^1.5.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", "deep-object-diff": "^1.1.0", "ent": "^2.2.0", "filehound": "^1.17.4", "fs-extra": "^8.0.1", "gulp": "^4.0.1", "gulp-inline-source": "^2.1.0", "http-proxy": "^1.18.1", "husky": "^4.2.5", "intercept-stdout": "^0.1.2", "mocha": "^6.2.3", "mock-require": "^3.0.3", "nock": "^12.0.3", "parse-link-header": "~1.0.1", "pkg": "^4.4.8", "publish-release": "^1.6.1", "rewire": "^4.0.1", "simple-git": "^1.131.0", "sinon": "^9.0.2", "ts-node": "^8.10.1", "typescript": "^3.9.2" }, "dependencies": { "@balena/dockerignore": "^1.0.2", "@balena/es-version": "^1.0.0", "@oclif/command": "^1.5.19", "@resin.io/valid-email": "^0.1.0", "@sentry/node": "^5.13.2", "@types/update-notifier": "^4.1.0", "@zeit/dockerignore": "0.0.3", "JSONStream": "^1.0.3", "any-promise": "^1.3.0", "archiver": "^3.1.1", "balena-config-json": "^4.0.0", "balena-device-init": "^5.0.2", "balena-errors": "^4.3.0", "balena-image-manager": "^7.0.1", "balena-preload": "^9.0.0", "balena-release": "^2.1.0", "balena-sdk": "^13.6.0", "balena-semver": "^2.2.0", "balena-settings-client": "^4.0.5", "balena-sync": "^11.0.0", "bluebird": "^3.7.2", "body-parser": "^1.19.0", "capitano": "^1.9.2", "chalk": "^3.0.0", "chokidar": "^2.1.8", "cli-truncate": "^1.1.0", "color-hash": "^1.0.3", "columnify": "^1.5.2", "common-tags": "^1.7.2", "denymount": "^2.3.0", "docker-modem": "^2.1.1", "docker-progress": "^4.0.1", "docker-qemu-transpose": "^1.1.1", "docker-toolbelt": "^3.3.8", "dockerode": "^2.5.8", "ejs": "^3.0.1", "etcher-sdk": "^2.0.20", "event-stream": "3.3.4", "express": "^4.13.3", "fast-boot2": "^1.1.0", "get-stdin": "^7.0.0", "global-agent": "^2.1.12", "global-tunnel-ng": "^2.1.1", "humanize": "0.0.9", "ignore": "^5.1.4", "inquirer": "^7.0.6", "is-elevated": "^3.0.0", "is-root": "^2.1.0", "js-yaml": "^3.13.1", "klaw": "^3.0.0", "livepush": "^3.4.0", "lodash": "^4.17.15", "minimatch": "^3.0.4", "mixpanel": "^0.10.3", "mkdirp": "^0.5.1", "moment": "^2.24.0", "moment-duration-format": "^2.3.2", "node-cleanup": "^2.1.2", "node-unzip-2": "^0.2.8", "oclif": "^1.15.2", "open": "^7.0.2", "patch-package": "6.2.2", "prettyjson": "^1.1.3", "progress-stream": "^2.0.0", "reconfix": "^0.1.0", "request": "^2.88.2", "resin-cli-form": "^2.0.2", "resin-cli-visuals": "^1.7.0", "resin-compose-parse": "^2.1.0", "resin-doodles": "^0.1.1", "resin-image-fs": "^5.0.9", "resin-multibuild": "^4.5.1", "resin-stream-logger": "^0.1.2", "rimraf": "^3.0.2", "rindle": "^1.3.6", "semver": "^7.1.3", "shell-escape": "^0.2.0", "split": "^1.0.1", "stream-to-promise": "^2.2.0", "string-width": "^4.2.0", "strip-ansi-stream": "^1.0.0", "tar-stream": "^2.1.0", "tar-utils": "^2.1.0", "through2": "^2.0.3", "tmp": "0.0.31", "typed-error": "^3.2.0", "umount": "^1.1.6", "update-notifier": "^4.1.0", "which": "^2.0.2", "window-size": "^1.1.0" }, "optionalDependencies": { "net-keepalive": "^1.2.1", "windosu": "^0.3.0" } }