@anycli/command
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -0,1 +1,9 @@ | ||
<a name="0.3.4"></a> | ||
## [0.3.4](https://github.com/anycli/command/compare/2186ab5a8731fc3a7bc521135dbda71c6d6bddb9...v0.3.4) (2018-02-02) | ||
### Bug Fixes | ||
* fixed default parameters ([e1fa539](https://github.com/anycli/command/commit/e1fa539)) | ||
<a name="0.3.3"></a> | ||
@@ -2,0 +10,0 @@ ## [0.3.3](https://github.com/anycli/command/compare/d4d4bb12614a4057436667ca77c8cec2a1636cb0...v0.3.3) (2018-02-01) |
@@ -34,3 +34,3 @@ "use strict"; | ||
options: flag.options, | ||
default: _.isFunction(flag.default) ? flag.default({}) : flag.default, | ||
default: _.isFunction(flag.default) ? flag.default({ options: {}, flags: {} }) : flag.default, | ||
}; | ||
@@ -37,0 +37,0 @@ }), |
{ | ||
"name": "@anycli/command", | ||
"description": "anycli base command", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -15,9 +15,10 @@ "bugs": "https://github.com/anycli/command/issues", | ||
"devDependencies": { | ||
"@anycli/config": "^0.2.10", | ||
"@anycli/help": "^0.3.4", | ||
"@anycli/config": "^0.2.11", | ||
"@anycli/help": "^0.3.5", | ||
"@anycli/nyc-config": "0", | ||
"@anycli/tslint": "^0.2.1", | ||
"@commitlint/cli": "^6.0.5", | ||
"@commitlint/config-conventional": "^6.0.4", | ||
"@commitlint/cli": "6", | ||
"@commitlint/config-conventional": "6", | ||
"@types/chai": "^4.1.2", | ||
"@types/lodash": "^4.14.99", | ||
"@types/lodash": "^4.14.100", | ||
"@types/mocha": "^2.2.48", | ||
@@ -29,4 +30,5 @@ "@types/nock": "^9.1.2", | ||
"chai": "^4.1.2", | ||
"concurrently": "^3.5.1", | ||
"eslint": "^4.16.0", | ||
"eslint-config-anycli": "^1.3.0", | ||
"eslint-config-anycli": "^1.3.1", | ||
"fancy-test": "^0.6.6", | ||
@@ -36,6 +38,5 @@ "http-call": "^5.0.2", | ||
"mocha": "^5.0.0", | ||
"mocha-junit-reporter": "^1.17.0", | ||
"mocha-junit-reporter": "1", | ||
"nock": "^9.1.6", | ||
"nps": "^5.7.1", | ||
"nps-utils": "^1.5.0", | ||
"nyc": "11", | ||
"ts-node": "^4.1.0", | ||
@@ -58,8 +59,9 @@ "typescript": "^2.7.1" | ||
"scripts": { | ||
"commitmsg": "commitlint -x @commitlint/config-conventional -e $GIT_PARAMS", | ||
"precommit": "nps lint -l warn", | ||
"prepublishOnly": "nps build", | ||
"test": "nps test -l warn" | ||
"build": "rm -rf lib && tsc", | ||
"lint": "concurrently -p command \"eslint .\" \"tsc -p test --noEmit\" \"tslint -p test\"", | ||
"posttest": "yarn run lint", | ||
"prepublishOnly": "yarn run build", | ||
"test": "mocha --forbid-only \"test/**/*.test.ts\"" | ||
}, | ||
"types": "lib/index.d.ts" | ||
} |
@anycli/command | ||
============== | ||
=============== | ||
@@ -4,0 +4,0 @@ anycli base command |
27337
26