cli-engine-config
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -106,3 +106,3 @@ 'use strict'; | ||
const name = options.name || pjson.name || 'cli-engine'; | ||
const defaults = { | ||
const config = { | ||
pjson, | ||
@@ -123,5 +123,6 @@ name, | ||
skipAnalytics: undefined, | ||
shell: undefined | ||
shell: undefined, | ||
hooks: cli.hooks || {}, | ||
...options | ||
}; | ||
const config = Object.assign(defaults, options); | ||
if (config.platform === 'win32') config.platform = 'windows'; | ||
@@ -128,0 +129,0 @@ config.windows = config.platform === 'windows'; |
{ | ||
"name": "cli-engine-config", | ||
"description": "base cli-engine config objects and interfaces", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -11,9 +11,10 @@ "bugs": "https://github.com/heroku/cli-engine-config/issues", | ||
"devDependencies": { | ||
"babel-cli": "6.24.1", | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "7.2.3", | ||
"babel-jest": "20.0.3", | ||
"babel-plugin-syntax-object-rest-spread": "^6.13.0", | ||
"babel-plugin-transform-class-properties": "6.24.1", | ||
"babel-plugin-transform-es2015-modules-commonjs": "6.24.1", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", | ||
"babel-plugin-transform-flow-strip-types": "6.22.0", | ||
"eslint": "^4.3.0", | ||
"eslint": "^4.5.0", | ||
"eslint-config-standard": "10.2.1", | ||
@@ -26,4 +27,4 @@ "eslint-plugin-flowtype": "^2.35.0", | ||
"eslint-plugin-standard": "3.0.1", | ||
"flow-bin": "^0.50.0", | ||
"flow-copy-source": "^1.2.0", | ||
"flow-bin": "^0.53.1", | ||
"flow-copy-source": "^1.2.1", | ||
"flow-typed": "^2.1.5", | ||
@@ -30,0 +31,0 @@ "jest": "20.0.4", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12704
122
20