Skip to content

Commit

Permalink
WIP: add foreground-scripts option
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jan 6, 2021
1 parent 7282329 commit c4c17f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/utils/config.js
Expand Up @@ -83,6 +83,7 @@ const defaults = {
'fetch-retry-mintimeout': 10000,
'fetch-timeout': 5 * 60 * 1000,
force: false,
'foreground-script': false,
'format-package-lock': true,
fund: true,
git: 'git',
Expand Down Expand Up @@ -224,6 +225,7 @@ const types = {
'fetch-retry-mintimeout': Number,
'fetch-timeout': Number,
force: Boolean,
'foreground-script': Boolean,
'format-package-lock': Boolean,
fund: Boolean,
git: String,
Expand Down
1 change: 1 addition & 0 deletions lib/utils/flat-options.js
Expand Up @@ -133,6 +133,7 @@ const flatten = obj => ({
packageLockOnly: obj['package-lock-only'],
globalStyle: obj['global-style'],
legacyBundling: obj['legacy-bundling'],
foregroundScripts: !!obj['foreground-scripts'],
scriptShell: obj['script-shell'] || undefined,
shell: obj.shell,
omit: buildOmitList(obj),
Expand Down

0 comments on commit c4c17f9

Please sign in to comment.