mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
1bc78edf71
Main changes: - Use the `columnify` module to display the commands instead of using manual parsing. - Extract logic to create a string representation from an option signature to Capitano, and reuse here. See https://github.com/resin-io/capitano/pull/28 Some bugs were caught and fixes during the refactoring: - In command help, if the command didn't exist, we reused default Capitanos command not found function which uses `process.exit(1)`. This was changed to pass a custom error to `done()`, so the command fails correctly when using programatically. - General help didn't call `done()` at all, thus causing problems if using the command programatically someday.
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
{
|
|
"name": "resin-cli",
|
|
"version": "0.11.1",
|
|
"description": "Git Push to your devices",
|
|
"main": "./build/actions/index.js",
|
|
"homepage": "https://github.com/resin-io/resin-cli",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:resin-io/resin-cli.git"
|
|
},
|
|
"preferGlobal": true,
|
|
"bin": {
|
|
"resin": "./bin/resin"
|
|
},
|
|
"scripts": {
|
|
"prepublish": "gulp build",
|
|
"test": "gulp test",
|
|
"doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown"
|
|
},
|
|
"keywords": [
|
|
"resin",
|
|
"git"
|
|
],
|
|
"author": "Juan Cruz Viotti <juanchiviotti@gmail.com>",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"chai": "^3.0.0",
|
|
"ent": "^2.2.0",
|
|
"gulp": "^3.9.0",
|
|
"gulp-coffee": "^2.2.0",
|
|
"gulp-coffeelint": "^0.5.0",
|
|
"gulp-mocha": "^2.1.3",
|
|
"gulp-shell": "^0.4.2",
|
|
"gulp-util": "^3.0.6",
|
|
"mocha": "^2.2.5",
|
|
"run-sequence": "^1.1.1",
|
|
"sinon": "^1.15.4",
|
|
"sinon-chai": "^2.8.0"
|
|
},
|
|
"dependencies": {
|
|
"async": "^1.3.0",
|
|
"bluebird": "^2.9.34",
|
|
"capitano": "~1.7.0",
|
|
"coffee-script": "^1.9.3",
|
|
"columnify": "^1.5.2",
|
|
"html-to-text": "^1.3.1",
|
|
"lodash": "^3.10.0",
|
|
"mkdirp": "~0.5.0",
|
|
"nplugm": "^2.2.0",
|
|
"npm": "^2.13.0",
|
|
"open": "0.0.5",
|
|
"resin-cli-form": "^1.1.0",
|
|
"resin-cli-visuals": "^1.1.0",
|
|
"resin-config-inject": "^2.0.0",
|
|
"resin-device-config": "^1.0.0",
|
|
"resin-image": "^1.1.4",
|
|
"resin-image-manager": "^2.0.0",
|
|
"resin-pine": "^1.3.0",
|
|
"resin-register-device": "^1.0.1",
|
|
"resin-sdk": "^2.2.0",
|
|
"resin-settings-client": "^1.4.0",
|
|
"resin-vcs": "^2.0.0",
|
|
"selfupdate": "^1.1.0",
|
|
"underscore.string": "^3.1.1",
|
|
"user-home": "^2.0.0"
|
|
}
|
|
}
|