mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-20 22:23:07 +00:00
283 lines
9.1 KiB
JSON
283 lines
9.1 KiB
JSON
{
|
|
"name": "balena-cli",
|
|
"version": "12.39.0",
|
|
"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/balena-sync/build/**/*.js",
|
|
"node_modules/pinejs-client-request/node_modules/pinejs-client-core/es2018/index.js",
|
|
"node_modules/resin-compose-parse/build/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",
|
|
"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: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: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: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",
|
|
"watch": "gulp watch",
|
|
"lint": "balena-lint -e ts -e js --typescript --fix automation/ lib/ typings/ tests/ bin/balena bin/balena-dev gulpfile.js .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": "Juan Cruz Viotti <juan@balena.io>",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=10.20.0 <13.0.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "node automation/check-npm-version.js && node automation/check-doc.js"
|
|
}
|
|
},
|
|
"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: Rulemotion Ltd (66H43P8FRG)"
|
|
},
|
|
"plugins": [
|
|
"@oclif/plugin-help"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@balena/lint": "^5.2.0",
|
|
"@oclif/config": "^1.17.0",
|
|
"@oclif/dev-cli": "^1.22.2",
|
|
"@oclif/parser": "^3.8.5",
|
|
"@octokit/plugin-throttling": "^3.3.0",
|
|
"@octokit/rest": "^16.43.2",
|
|
"@types/archiver": "^2.1.3",
|
|
"@types/bluebird": "^3.5.32",
|
|
"@types/body-parser": "^1.19.0",
|
|
"@types/chai": "^4.2.12",
|
|
"@types/chai-as-promised": "^7.1.3",
|
|
"@types/cli-truncate": "^1.1.0",
|
|
"@types/common-tags": "^1.8.0",
|
|
"@types/dockerode": "^2.5.34",
|
|
"@types/ejs": "^3.0.4",
|
|
"@types/express": "^4.17.7",
|
|
"@types/fs-extra": "^8.1.1",
|
|
"@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.5",
|
|
"@types/jsonwebtoken": "^8.5.0",
|
|
"@types/klaw": "^3.0.1",
|
|
"@types/lodash": "^4.14.159",
|
|
"@types/mixpanel": "^2.14.2",
|
|
"@types/mocha": "^8.0.4",
|
|
"@types/mock-require": "^2.0.0",
|
|
"@types/moment-duration-format": "^2.2.2",
|
|
"@types/net-keepalive": "^0.4.1",
|
|
"@types/nock": "^11.0.7",
|
|
"@types/node": "^10.17.28",
|
|
"@types/node-cleanup": "^2.1.1",
|
|
"@types/parse-link-header": "^1.0.0",
|
|
"@types/prettyjson": "0.0.29",
|
|
"@types/progress-stream": "^2.0.0",
|
|
"@types/request": "^2.48.5",
|
|
"@types/rewire": "^2.5.28",
|
|
"@types/rimraf": "^3.0.0",
|
|
"@types/shell-escape": "^0.2.0",
|
|
"@types/sinon": "^9.0.8",
|
|
"@types/split": "^1.0.0",
|
|
"@types/stream-to-promise": "2.2.0",
|
|
"@types/tar-stream": "^2.1.0",
|
|
"@types/through2": "^2.0.36",
|
|
"@types/tmp": "^0.2.0",
|
|
"@types/which": "^1.3.2",
|
|
"archiver": "^3.1.1",
|
|
"catch-uncommitted": "^1.6.2",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"cross-env": "^7.0.2",
|
|
"deep-object-diff": "^1.1.0",
|
|
"diff": "^4.0.2",
|
|
"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",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"mkdirp": "^0.5.5",
|
|
"mocha": "^8.2.1",
|
|
"mock-require": "^3.0.3",
|
|
"nock": "^12.0.3",
|
|
"parse-link-header": "~1.0.1",
|
|
"pkg": "^4.4.9",
|
|
"publish-release": "^1.6.1",
|
|
"rewire": "^5.0.0",
|
|
"simple-git": "^1.132.0",
|
|
"sinon": "^9.2.1",
|
|
"ts-node": "^8.10.2",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@balena/dockerignore": "^1.0.2",
|
|
"@balena/es-version": "^1.0.0",
|
|
"@oclif/command": "^1.8.0",
|
|
"@resin.io/valid-email": "^0.1.0",
|
|
"@sentry/node": "^5.25.0",
|
|
"@types/fast-levenshtein": "0.0.1",
|
|
"@types/update-notifier": "^4.1.1",
|
|
"@zeit/dockerignore": "0.0.3",
|
|
"JSONStream": "^1.0.3",
|
|
"balena-config-json": "^4.1.0",
|
|
"balena-device-init": "^5.0.2",
|
|
"balena-errors": "^4.7.1",
|
|
"balena-image-manager": "^7.0.3",
|
|
"balena-preload": "^10.4.1",
|
|
"balena-release": "^3.0.0",
|
|
"balena-sdk": "^15.20.0",
|
|
"balena-semver": "^2.3.0",
|
|
"balena-settings-client": "^4.0.6",
|
|
"balena-settings-storage": "^7.0.0",
|
|
"balena-sync": "^11.0.2",
|
|
"bluebird": "^3.7.2",
|
|
"body-parser": "^1.19.0",
|
|
"chalk": "^3.0.0",
|
|
"chokidar": "^3.4.3",
|
|
"cli-truncate": "^2.1.0",
|
|
"color-hash": "^1.0.3",
|
|
"columnify": "^1.5.2",
|
|
"common-tags": "^1.7.2",
|
|
"denymount": "^2.3.0",
|
|
"docker-modem": "^2.1.4",
|
|
"docker-progress": "^4.0.1",
|
|
"docker-qemu-transpose": "^1.1.1",
|
|
"docker-toolbelt": "^3.3.8",
|
|
"dockerode": "^2.5.8",
|
|
"ejs": "^3.1.3",
|
|
"etcher-sdk": "^2.0.20",
|
|
"event-stream": "3.3.4",
|
|
"express": "^4.13.3",
|
|
"fast-boot2": "^1.1.0",
|
|
"fast-levenshtein": "^3.0.0",
|
|
"get-stdin": "^8.0.0",
|
|
"global-agent": "^2.1.12",
|
|
"global-tunnel-ng": "^2.1.1",
|
|
"humanize": "0.0.9",
|
|
"ignore": "^5.1.8",
|
|
"inquirer": "^7.3.3",
|
|
"is-elevated": "^3.0.0",
|
|
"is-root": "^2.1.0",
|
|
"js-yaml": "^3.14.0",
|
|
"klaw": "^3.0.0",
|
|
"livepush": "^3.5.0",
|
|
"lodash": "^4.17.20",
|
|
"minimatch": "^3.0.4",
|
|
"mixpanel": "^0.10.3",
|
|
"moment": "^2.27.0",
|
|
"moment-duration-format": "^2.3.2",
|
|
"node-cleanup": "^2.1.2",
|
|
"node-unzip-2": "^0.2.8",
|
|
"oclif": "^1.16.1",
|
|
"open": "^7.1.0",
|
|
"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.2",
|
|
"resin-doodles": "^0.1.1",
|
|
"resin-image-fs": "^5.0.9",
|
|
"resin-multibuild": "^4.7.2",
|
|
"resin-stream-logger": "^0.1.2",
|
|
"rimraf": "^3.0.2",
|
|
"semver": "^7.3.2",
|
|
"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.3",
|
|
"tar-utils": "^2.1.1",
|
|
"through2": "^2.0.3",
|
|
"tmp": "^0.2.1",
|
|
"typed-error": "^3.2.1",
|
|
"umount": "^1.1.6",
|
|
"update-notifier": "^4.1.0",
|
|
"which": "^2.0.2",
|
|
"window-size": "^1.1.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"net-keepalive": "^1.3.6",
|
|
"windosu": "^0.3.0"
|
|
}
|
|
}
|