2014-10-31 13:37:29 +00:00
|
|
|
{
|
2018-10-19 14:38:50 +00:00
|
|
|
"name": "balena-cli",
|
2020-03-12 18:01:37 +00:00
|
|
|
"version": "11.28.17",
|
2018-10-19 14:38:50 +00:00
|
|
|
"description": "The official balena CLI tool",
|
2019-08-28 18:51:56 +00:00
|
|
|
"main": "./build/app.js",
|
2018-10-19 14:38:50 +00:00
|
|
|
"homepage": "https://github.com/balena-io/balena-cli",
|
2014-12-09 19:46:47 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-10-19 14:38:50 +00:00
|
|
|
"url": "git@github.com:balena-io/balena-cli.git"
|
2014-12-09 19:46:47 +00:00
|
|
|
},
|
|
|
|
"preferGlobal": true,
|
2017-11-23 12:04:48 +00:00
|
|
|
"files": [
|
2019-06-05 12:12:10 +00:00
|
|
|
"bin/",
|
2017-11-23 12:04:48 +00:00
|
|
|
"build/",
|
2017-11-23 12:12:03 +00:00
|
|
|
"doc/",
|
2019-07-02 17:15:32 +00:00
|
|
|
"lib/",
|
2019-07-02 19:20:07 +00:00
|
|
|
"patches/",
|
|
|
|
"*.md",
|
2019-07-02 17:15:32 +00:00
|
|
|
"npm-shrinkwrap.json"
|
2017-11-23 12:04:48 +00:00
|
|
|
],
|
2014-11-27 13:10:51 +00:00
|
|
|
"bin": {
|
2019-06-03 15:01:36 +00:00
|
|
|
"balena": "./bin/balena"
|
2014-11-27 13:10:51 +00:00
|
|
|
},
|
2017-12-12 17:02:37 +00:00
|
|
|
"pkg": {
|
|
|
|
"scripts": [
|
2018-10-19 14:38:50 +00:00
|
|
|
"node_modules/balena-sync/build/capitano/*.js",
|
|
|
|
"node_modules/balena-sync/build/sync/*.js",
|
2020-03-04 16:31:54 +00:00
|
|
|
"node_modules/resin-compose-parse/build/schemas/*.json"
|
2017-12-12 17:02:37 +00:00
|
|
|
],
|
|
|
|
"assets": [
|
2019-08-28 18:51:56 +00:00
|
|
|
"build/**/*.js",
|
2019-06-24 15:51:07 +00:00
|
|
|
"build/actions-oclif",
|
2017-12-14 12:29:44 +00:00
|
|
|
"build/auth/pages/*.ejs",
|
2019-08-28 01:14:19 +00:00
|
|
|
"build/hooks",
|
2019-10-13 23:52:43 +00:00
|
|
|
"node_modules/resin-discoverable-services/services/**/*",
|
2020-03-11 01:12:07 +00:00
|
|
|
"node_modules/opn-cli/node_modules/opn/xdg-open",
|
|
|
|
"node_modules/open/xdg-open",
|
2019-10-13 23:52:43 +00:00
|
|
|
"node_modules/windosu/*.bat",
|
|
|
|
"node_modules/windosu/*.cmd"
|
2017-12-12 17:02:37 +00:00
|
|
|
]
|
|
|
|
},
|
2014-10-31 13:37:29 +00:00
|
|
|
"scripts": {
|
2019-05-23 00:44:08 +00:00
|
|
|
"postinstall": "patch-package",
|
|
|
|
"prebuild": "rimraf build/ build-bin/",
|
2020-01-20 14:01:58 +00:00
|
|
|
"build": "npm run build:src && npm run catch-uncommitted",
|
2020-02-06 18:19:00 +00:00
|
|
|
"build:src": "npm run prettify && npm run lint && npm run build:automation && npm run build:fast && npm run build:doc",
|
2018-04-04 14:14:54 +00:00
|
|
|
"build:fast": "gulp build && tsc",
|
2020-02-06 18:19:00 +00:00
|
|
|
"build:automation": "tsc -P automation/tsconfig.json --noEmit",
|
|
|
|
"build:doc": "mkdirp doc/ && ts-node --transpile-only -P automation/tsconfig.json automation/capitanodoc/index.ts > doc/cli.markdown",
|
|
|
|
"build:standalone": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts build:standalone",
|
|
|
|
"build:installer": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts build:installer",
|
2019-06-06 14:19:35 +00:00
|
|
|
"package": "npm run build:fast && npm run build:standalone && npm run build:installer",
|
2020-02-06 18:19:00 +00:00
|
|
|
"release": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts release",
|
2017-11-23 12:49:47 +00:00
|
|
|
"pretest": "npm run build",
|
2020-02-06 18:19:48 +00:00
|
|
|
"test": "mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"",
|
2020-02-17 14:31:08 +00:00
|
|
|
"test:fast": "npm run build:fast && mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"",
|
2020-02-06 18:19:00 +00:00
|
|
|
"catch-uncommitted": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts catch-uncommitted",
|
2020-02-06 13:10:28 +00:00
|
|
|
"ci": "npm run test && npm run catch-uncommitted",
|
2017-03-21 09:06:05 +00:00
|
|
|
"watch": "gulp watch",
|
2020-02-06 18:20:54 +00:00
|
|
|
"prettify": "prettier --write \"{lib,tests,automation,typings}/**/*.js\" --config ./node_modules/resin-lint/config/.prettierrc",
|
|
|
|
"lint": "resin-lint lib/ tests/ && resin-lint --typescript --fix automation/ lib/ typings/ tests/",
|
2020-02-21 12:44:43 +00:00
|
|
|
"update": "ts-node --transpile-only -P automation/tsconfig.json ./automation/update-module.ts",
|
2017-09-14 13:59:31 +00:00
|
|
|
"prepublishOnly": "npm run build"
|
2014-10-31 13:37:29 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
2018-10-19 14:38:50 +00:00
|
|
|
"balena",
|
|
|
|
"balena.io",
|
|
|
|
"balenaCloud",
|
|
|
|
"balenaOS",
|
2014-10-31 13:37:29 +00:00
|
|
|
"resin",
|
2018-10-19 14:38:50 +00:00
|
|
|
"resin.io",
|
2014-10-31 13:37:29 +00:00
|
|
|
"git"
|
|
|
|
],
|
2018-10-19 14:38:50 +00:00
|
|
|
"author": "Juan Cruz Viotti <juan@balena.io>",
|
2016-01-04 03:58:51 +00:00
|
|
|
"license": "Apache-2.0",
|
2017-06-22 16:58:09 +00:00
|
|
|
"engines": {
|
2019-04-25 17:39:16 +00:00
|
|
|
"node": ">=8.0"
|
2017-06-22 16:58:09 +00:00
|
|
|
},
|
2019-10-17 20:12:40 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-02-17 16:56:52 +00:00
|
|
|
"pre-commit": "node automation/check-npm-version.js && node automation/check-doc.js"
|
2019-10-17 20:12:40 +00:00
|
|
|
}
|
|
|
|
},
|
2019-04-02 11:26:21 +00:00
|
|
|
"oclif": {
|
|
|
|
"bin": "balena",
|
|
|
|
"commands": "./build/actions-oclif",
|
2019-08-28 01:14:19 +00:00
|
|
|
"hooks": {
|
|
|
|
"prerun": "./build/hooks/prerun/track"
|
|
|
|
},
|
2019-04-02 11:26:21 +00:00
|
|
|
"macos": {
|
2019-06-18 23:59:56 +00:00
|
|
|
"identifier": "io.balena.cli",
|
|
|
|
"sign": "Developer ID Installer: Rulemotion Ltd (66H43P8FRG)"
|
2019-04-02 11:26:21 +00:00
|
|
|
}
|
|
|
|
},
|
2014-10-31 13:37:29 +00:00
|
|
|
"devDependencies": {
|
2020-01-24 22:20:39 +00:00
|
|
|
"@oclif/config": "^1.13.3",
|
2019-05-23 00:44:08 +00:00
|
|
|
"@oclif/dev-cli": "1.22.0",
|
2020-01-24 22:20:39 +00:00
|
|
|
"@oclif/parser": "^3.8.4",
|
|
|
|
"@octokit/plugin-throttling": "^2.7.1",
|
|
|
|
"@octokit/rest": "^16.38.1",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/archiver": "^2.1.3",
|
2020-01-24 22:20:39 +00:00
|
|
|
"@types/bluebird": "^3.5.29",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/body-parser": "^1.19.0",
|
|
|
|
"@types/chai": "^4.2.9",
|
2019-08-07 11:31:03 +00:00
|
|
|
"@types/chai-as-promised": "^7.1.1",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/chokidar": "^2.1.3",
|
2020-01-24 22:20:39 +00:00
|
|
|
"@types/common-tags": "^1.8.0",
|
2020-02-29 21:52:09 +00:00
|
|
|
"@types/dockerode": "^2.5.24",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/ejs": "^3.0.1",
|
2020-02-05 21:07:49 +00:00
|
|
|
"@types/express": "^4.17.2",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/fs-extra": "^8.1.0",
|
2020-03-02 13:28:29 +00:00
|
|
|
"@types/global-agent": "^2.1.0",
|
|
|
|
"@types/global-tunnel-ng": "^2.1.0",
|
2019-09-30 14:08:28 +00:00
|
|
|
"@types/intercept-stdout": "^0.1.0",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/is-root": "^2.1.2",
|
|
|
|
"@types/lodash": "^4.14.149",
|
|
|
|
"@types/mixpanel": "^2.14.2",
|
|
|
|
"@types/mkdirp": "^0.5.2",
|
2019-08-07 11:31:03 +00:00
|
|
|
"@types/mocha": "^5.2.7",
|
2020-03-06 21:19:24 +00:00
|
|
|
"@types/mock-require": "^2.0.0",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/mz": "^2.7.0",
|
2019-05-13 10:51:41 +00:00
|
|
|
"@types/net-keepalive": "^0.4.0",
|
2019-12-05 08:55:17 +00:00
|
|
|
"@types/nock": "^11.0.7",
|
2020-02-29 21:52:09 +00:00
|
|
|
"@types/node": "^10.17.17",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/prettyjson": "0.0.29",
|
|
|
|
"@types/request": "^2.48.4",
|
2019-08-07 11:31:03 +00:00
|
|
|
"@types/rewire": "^2.5.28",
|
2020-01-24 22:20:39 +00:00
|
|
|
"@types/rimraf": "^2.0.3",
|
2019-05-23 00:44:08 +00:00
|
|
|
"@types/shell-escape": "^0.2.0",
|
2020-02-29 21:52:09 +00:00
|
|
|
"@types/sinon": "^7.5.2",
|
2019-05-10 14:38:12 +00:00
|
|
|
"@types/stream-to-promise": "2.2.0",
|
2020-02-21 00:31:53 +00:00
|
|
|
"@types/tar-stream": "^1.6.1",
|
|
|
|
"@types/through2": "^2.0.34",
|
2020-01-09 00:13:32 +00:00
|
|
|
"@types/which": "^1.3.2",
|
2020-02-06 13:10:28 +00:00
|
|
|
"catch-uncommitted": "^1.5.0",
|
2019-08-07 11:31:03 +00:00
|
|
|
"chai": "^4.2.0",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
2015-03-16 12:51:26 +00:00
|
|
|
"ent": "^2.2.0",
|
2020-02-29 21:52:09 +00:00
|
|
|
"filehound": "^1.17.4",
|
2019-05-23 00:44:08 +00:00
|
|
|
"fs-extra": "^8.0.1",
|
2019-05-02 09:26:53 +00:00
|
|
|
"gulp": "^4.0.1",
|
2014-12-30 13:44:03 +00:00
|
|
|
"gulp-coffee": "^2.2.0",
|
2017-11-23 12:49:47 +00:00
|
|
|
"gulp-inline-source": "^2.1.0",
|
2017-08-18 13:56:35 +00:00
|
|
|
"gulp-shell": "^0.5.2",
|
2020-02-17 16:56:52 +00:00
|
|
|
"husky": "^4.2.3",
|
2019-09-06 13:43:53 +00:00
|
|
|
"intercept-stdout": "^0.1.2",
|
2020-01-24 22:20:39 +00:00
|
|
|
"mocha": "^6.2.2",
|
2020-03-06 21:19:24 +00:00
|
|
|
"mock-require": "^3.0.3",
|
2020-01-24 22:20:39 +00:00
|
|
|
"nock": "^11.7.2",
|
2019-08-23 03:02:59 +00:00
|
|
|
"parse-link-header": "~1.0.1",
|
2020-01-24 22:20:39 +00:00
|
|
|
"pkg": "^4.4.2",
|
2020-01-20 21:21:05 +00:00
|
|
|
"prettier": "^1.19.1",
|
2020-01-24 22:20:39 +00:00
|
|
|
"publish-release": "^1.6.1",
|
2020-02-29 21:52:09 +00:00
|
|
|
"resin-lint": "^3.3.1",
|
2020-03-06 21:19:24 +00:00
|
|
|
"rewire": "^4.0.1",
|
2020-02-17 16:56:52 +00:00
|
|
|
"simple-git": "^1.131.0",
|
2020-01-24 22:20:39 +00:00
|
|
|
"sinon": "^7.5.0",
|
|
|
|
"ts-node": "^8.6.2",
|
2020-02-29 21:52:09 +00:00
|
|
|
"typescript": "^3.8.3"
|
2014-10-31 15:59:23 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-01-24 22:20:39 +00:00
|
|
|
"@oclif/command": "^1.5.19",
|
2019-04-02 11:26:21 +00:00
|
|
|
"@oclif/errors": "^1.2.2",
|
2017-05-18 22:25:01 +00:00
|
|
|
"@resin.io/valid-email": "^0.1.0",
|
2020-03-04 16:31:54 +00:00
|
|
|
"@sentry/node": "^5.13.1",
|
2018-10-20 12:54:33 +00:00
|
|
|
"@zeit/dockerignore": "0.0.3",
|
2018-07-11 18:56:13 +00:00
|
|
|
"JSONStream": "^1.0.3",
|
2017-04-24 12:48:43 +00:00
|
|
|
"ansi-escapes": "^2.0.0",
|
2017-03-29 11:03:40 +00:00
|
|
|
"any-promise": "^1.3.0",
|
2017-12-13 17:33:03 +00:00
|
|
|
"archiver": "^2.1.0",
|
2020-01-24 22:20:39 +00:00
|
|
|
"balena-config-json": "^2.1.1",
|
|
|
|
"balena-device-init": "^5.0.1",
|
2020-02-29 21:52:09 +00:00
|
|
|
"balena-device-status": "^3.2.1",
|
2020-01-24 22:20:39 +00:00
|
|
|
"balena-errors": "^4.2.1",
|
|
|
|
"balena-image-manager": "^6.1.1",
|
2020-02-29 21:52:09 +00:00
|
|
|
"balena-preload": "^8.3.1",
|
|
|
|
"balena-sdk": "^12.26.7",
|
|
|
|
"balena-settings-client": "^4.0.3",
|
2020-01-24 22:20:39 +00:00
|
|
|
"balena-sync": "^10.1.0",
|
2017-05-18 22:25:01 +00:00
|
|
|
"bash": "0.0.1",
|
2020-01-24 22:20:39 +00:00
|
|
|
"bluebird": "^3.7.2",
|
2019-05-10 14:38:12 +00:00
|
|
|
"body-parser": "^1.19.0",
|
2020-02-29 21:52:09 +00:00
|
|
|
"capitano": "^1.9.2",
|
2017-12-20 21:46:01 +00:00
|
|
|
"chalk": "^2.3.0",
|
2020-01-24 22:20:39 +00:00
|
|
|
"chokidar": "^2.1.8",
|
2017-12-11 22:37:56 +00:00
|
|
|
"cli-truncate": "^1.1.0",
|
2018-02-07 10:20:49 +00:00
|
|
|
"coffeescript": "^1.12.6",
|
2018-10-16 10:25:37 +00:00
|
|
|
"color-hash": "^1.0.3",
|
2015-08-13 12:11:58 +00:00
|
|
|
"columnify": "^1.5.2",
|
2018-04-11 17:31:03 +00:00
|
|
|
"common-tags": "^1.7.2",
|
2019-05-23 00:29:54 +00:00
|
|
|
"denymount": "^2.3.0",
|
2020-02-29 21:52:09 +00:00
|
|
|
"docker-modem": "^2.1.1",
|
2019-03-20 23:56:59 +00:00
|
|
|
"docker-progress": "^4.0.0",
|
2020-02-25 01:18:22 +00:00
|
|
|
"docker-qemu-transpose": "^1.0.3",
|
2019-03-12 22:07:57 +00:00
|
|
|
"docker-toolbelt": "^3.3.7",
|
2019-07-09 14:43:36 +00:00
|
|
|
"dockerode": "^2.5.8",
|
2020-01-24 22:20:39 +00:00
|
|
|
"ejs": "^3.0.1",
|
2020-02-29 21:52:09 +00:00
|
|
|
"etcher-sdk": "^2.0.17",
|
2018-11-28 18:15:12 +00:00
|
|
|
"event-stream": "3.3.4",
|
2017-11-23 12:49:47 +00:00
|
|
|
"express": "^4.13.3",
|
2019-01-11 15:34:29 +00:00
|
|
|
"fast-boot2": "^1.0.9",
|
2020-02-10 18:58:10 +00:00
|
|
|
"get-stdin": "^7.0.0",
|
2020-02-29 21:52:09 +00:00
|
|
|
"global-agent": "^2.1.8",
|
2018-02-05 15:55:26 +00:00
|
|
|
"global-tunnel-ng": "^2.1.1",
|
2017-12-11 22:37:56 +00:00
|
|
|
"humanize": "0.0.9",
|
2020-01-24 22:20:39 +00:00
|
|
|
"ignore": "^5.1.4",
|
2017-06-18 22:14:08 +00:00
|
|
|
"inquirer": "^3.1.1",
|
2019-10-13 23:52:43 +00:00
|
|
|
"is-elevated": "^3.0.0",
|
|
|
|
"is-root": "^2.1.0",
|
2019-05-10 14:38:12 +00:00
|
|
|
"js-yaml": "^3.13.1",
|
2018-08-01 14:43:06 +00:00
|
|
|
"klaw": "^3.0.0",
|
2020-03-06 15:17:02 +00:00
|
|
|
"livepush": "^2.1.0",
|
2020-01-24 22:20:39 +00:00
|
|
|
"lodash": "^4.17.15",
|
2018-08-15 12:13:06 +00:00
|
|
|
"minimatch": "^3.0.4",
|
2020-01-24 22:20:39 +00:00
|
|
|
"mixpanel": "^0.10.3",
|
2017-12-14 10:57:27 +00:00
|
|
|
"mkdirp": "^0.5.1",
|
2019-05-10 14:38:12 +00:00
|
|
|
"moment": "^2.24.0",
|
2020-01-24 22:20:39 +00:00
|
|
|
"moment-duration-format": "^2.3.2",
|
2019-05-23 00:44:08 +00:00
|
|
|
"mz": "^2.7.0",
|
2017-10-06 09:05:24 +00:00
|
|
|
"node-cleanup": "^2.1.2",
|
2020-01-24 22:20:39 +00:00
|
|
|
"node-unzip-2": "^0.2.8",
|
|
|
|
"oclif": "^1.15.2",
|
2020-02-05 21:30:08 +00:00
|
|
|
"open": "^7.0.2",
|
2020-02-07 22:10:54 +00:00
|
|
|
"patch-package": "6.1.2",
|
2015-11-10 16:53:34 +00:00
|
|
|
"prettyjson": "^1.1.3",
|
2017-06-13 17:28:37 +00:00
|
|
|
"progress-stream": "^2.0.0",
|
2018-07-19 17:05:15 +00:00
|
|
|
"reconfix": "^0.1.0",
|
2020-02-29 21:52:09 +00:00
|
|
|
"request": "^2.88.2",
|
2019-01-11 15:34:29 +00:00
|
|
|
"resin-cli-form": "^2.0.1",
|
2020-02-29 21:52:09 +00:00
|
|
|
"resin-cli-visuals": "^1.4.6",
|
2019-04-11 11:49:19 +00:00
|
|
|
"resin-compose-parse": "^2.1.0",
|
2020-01-24 22:20:39 +00:00
|
|
|
"resin-doodles": "^0.1.1",
|
2019-05-10 14:38:12 +00:00
|
|
|
"resin-image-fs": "^5.0.8",
|
2020-02-21 00:31:53 +00:00
|
|
|
"resin-multibuild": "^4.4.1",
|
2018-03-19 18:58:05 +00:00
|
|
|
"resin-release": "^1.2.0",
|
2019-05-10 14:38:12 +00:00
|
|
|
"resin-semver": "^1.6.0",
|
2018-11-26 18:16:22 +00:00
|
|
|
"resin-stream-logger": "^0.1.2",
|
2020-02-29 21:52:09 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2019-05-10 14:38:12 +00:00
|
|
|
"rindle": "^1.3.4",
|
2020-01-24 22:20:39 +00:00
|
|
|
"semver": "^7.1.1",
|
2019-10-13 23:52:43 +00:00
|
|
|
"shell-escape": "^0.2.0",
|
2018-03-15 13:16:33 +00:00
|
|
|
"split": "^1.0.1",
|
2017-12-11 22:37:56 +00:00
|
|
|
"string-width": "^2.1.1",
|
2018-03-15 13:16:33 +00:00
|
|
|
"strip-ansi-stream": "^1.0.0",
|
2019-02-07 15:10:16 +00:00
|
|
|
"tar-stream": "^1.6.2",
|
2019-04-23 14:16:47 +00:00
|
|
|
"tar-utils": "^2.0.0",
|
2017-12-11 22:37:56 +00:00
|
|
|
"through2": "^2.0.3",
|
2017-03-29 11:03:40 +00:00
|
|
|
"tmp": "0.0.31",
|
2020-01-24 22:20:39 +00:00
|
|
|
"typed-error": "^3.2.0",
|
2017-06-08 10:52:47 +00:00
|
|
|
"umount": "^1.1.6",
|
2017-12-11 22:37:56 +00:00
|
|
|
"update-notifier": "^2.2.0",
|
2020-01-09 00:13:32 +00:00
|
|
|
"which": "^2.0.2",
|
2017-12-11 22:37:56 +00:00
|
|
|
"window-size": "^1.1.0"
|
2017-03-28 09:09:58 +00:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2019-05-13 10:51:41 +00:00
|
|
|
"net-keepalive": "^1.2.1",
|
2019-10-13 23:52:43 +00:00
|
|
|
"windosu": "^0.3.0"
|
2014-10-31 13:37:29 +00:00
|
|
|
}
|
2018-02-20 17:12:45 +00:00
|
|
|
}
|