| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,7 +26,7 @@ const removed = new Set([ | |||
| 26 | 26 | ||
| 27 | 27 | const { definitions, shorthands } = require('../lib/utils/config/index.js') | |
| 28 | 28 | const npmSwitches = Object.entries(definitions) | |
| 29 | - .filter(([key, {type}]) => type === Boolean || | ||
| 29 | + .filter(([key, { type }]) => type === Boolean || | ||
| 30 | 30 | (Array.isArray(type) && type.includes(Boolean))) | |
| 31 | 31 | .map(([key]) => key) | |
| 32 | 32 | ||
@@ -65,9 +65,9 @@ let i | |||
| 65 | 65 | let sawRemovedFlags = false | |
| 66 | 66 | for (i = 3; i < process.argv.length; i++) { | |
| 67 | 67 | const arg = process.argv[i] | |
| 68 | - if (arg === '--') | ||
| 68 | + if (arg === '--') { | ||
| 69 | 69 | break | |
| 70 | - else if (/^-/.test(arg)) { | ||
| 70 | + } else if (/^-/.test(arg)) { | ||
| 71 | 71 | const [key, ...v] = arg.replace(/^-+/, '').split('=') | |
| 72 | 72 | ||
| 73 | 73 | switch (key) { | |
@@ -87,8 +87,9 @@ for (i = 3; i < process.argv.length; i++) { | |||
| 87 | 87 | // resolve shorthands and run again | |
| 88 | 88 | if (shorthands[key] && !removed.has(key)) { | |
| 89 | 89 | const a = [...shorthands[key]] | |
| 90 | - if (v.length) | ||
| 90 | + if (v.length) { | ||
| 91 | 91 | a.push(v.join('=')) | |
| 92 | + } | ||
| 92 | 93 | process.argv.splice(i, 1, ...a) | |
| 93 | 94 | i-- | |
| 94 | 95 | continue | |
@@ -109,8 +110,9 @@ for (i = 3; i < process.argv.length; i++) { | |||
| 109 | 110 | if (removed.has(key)) { | |
| 110 | 111 | // also remove the value for the cut key. | |
| 111 | 112 | process.argv.splice(i + 1, 1) | |
| 112 | - } else | ||
| 113 | + } else { | ||
| 113 | 114 | i++ | |
| 115 | + } | ||
| 114 | 116 | } | |
| 115 | 117 | } else { | |
| 116 | 118 | // found a positional arg, put -- in front of it, and we're done | |
@@ -119,7 +121,8 @@ for (i = 3; i < process.argv.length; i++) { | |||
| 119 | 121 | } | |
| 120 | 122 | } | |
| 121 | 123 | ||
| 122 | - if (sawRemovedFlags) | ||
| 124 | + if (sawRemovedFlags) { | ||
| 123 | 125 | console.error('See `npm help exec` for more information') | |
| 126 | + } | ||
| 124 | 127 | ||
| 125 | 128 | cli(process) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,7 +58,7 @@ into a tarball (b). | |||
| 58 | 58 | ||
| 59 | 59 | * `npm install` (in a package directory, no arguments): | |
| 60 | 60 | ||
| 61 | - Install the dependencies in the local `node_modules` folder. | ||
| 61 | + Install the dependencies to the local `node_modules` folder. | ||
| 62 | 62 | ||
| 63 | 63 | In global mode (ie, with `-g` or `--global` appended to the command), | |
| 64 | 64 | it installs the current package context (ie, the current working | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -119,7 +119,9 @@ need to add them to `.npmignore` explicitly: | |||
| 119 | 119 | * `._*` | |
| 120 | 120 | * `.DS_Store` | |
| 121 | 121 | * `.git` | |
| 122 | + * `.gitignore` | ||
| 122 | 123 | * `.hg` | |
| 124 | + * `.npmignore` | ||
| 123 | 125 | * `.npmrc` | |
| 124 | 126 | * `.lock-wscript` | |
| 125 | 127 | * `.svn` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - <html><head> | ||
| 1 | + <!DOCTYPE html><html><head> | ||
| 2 | + <meta charset="utf-8"> | ||
| 2 | 3 | <title>npm-access</title> | |
| 3 | 4 | <style> | |
| 4 | 5 | body { | |
@@ -181,7 +182,7 @@ <h3 id="description">Description</h3> | |||
| 181 | 182 | <li> | |
| 182 | 183 | <p>ls-packages: | |
| 183 | 184 | Show all of the packages a user or a team is able to access, along with the | |
| 184 | - access level, except for read-only public packages (it won’t print the whole | ||
| 185 | + access level, except for read-only public packages (it won't print the whole | ||
| 185 | 186 | registry listing)</p> | |
| 186 | 187 | </li> | |
| 187 | 188 | <li> | |
@@ -209,7 +210,7 @@ <h3 id="details">Details</h3> | |||
| 209 | 210 | <li>You have been given read-write privileges for a package, either as a member | |
| 210 | 211 | of a team or directly as an owner.</li> | |
| 211 | 212 | </ul> | |
| 212 | - <p>If you have two-factor authentication enabled then you’ll be prompted to | ||
| 213 | + <p>If you have two-factor authentication enabled then you'll be prompted to | ||
| 213 | 214 | provide an otp token, or may use the <code>--otp=...</code> option to specify it on | |
| 214 | 215 | the command line.</p> | |
| 215 | 216 | <p>If your account is not paid, then attempts to publish scoped packages will | |
@@ -222,7 +223,7 @@ <h3 id="configuration">Configuration</h3> | |||
| 222 | 223 | <!-- raw HTML omitted --> | |
| 223 | 224 | <h4 id="registry"><code>registry</code></h4> | |
| 224 | 225 | <ul> | |
| 225 | - <li>Default: “<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>”</li> | ||
| 226 | + <li>Default: "<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>"</li> | ||
| 226 | 227 | <li>Type: URL</li> | |
| 227 | 228 | </ul> | |
| 228 | 229 | <p>The base URL of the npm registry.</p> | |
@@ -233,7 +234,7 @@ <h4 id="otp"><code>otp</code></h4> | |||
| 233 | 234 | <li>Default: null</li> | |
| 234 | 235 | <li>Type: null or String</li> | |
| 235 | 236 | </ul> | |
| 236 | - <p>This is a one-time password from a two-factor authenticator. It’s needed | ||
| 237 | + <p>This is a one-time password from a two-factor authenticator. It's needed | ||
| 237 | 238 | when publishing or changing package permissions with <code>npm access</code>.</p> | |
| 238 | 239 | <p>If not set, and a registry response fails with a challenge for a one-time | |
| 239 | 240 | password, npm will prompt on the command line for one.</p> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - <html><head> | ||
| 1 | + <!DOCTYPE html><html><head> | ||
| 2 | + <meta charset="utf-8"> | ||
| 2 | 3 | <title>npm-adduser</title> | |
| 3 | 4 | <style> | |
| 4 | 5 | body { | |
@@ -168,15 +169,15 @@ <h3 id="configuration">Configuration</h3> | |||
| 168 | 169 | <!-- raw HTML omitted --> | |
| 169 | 170 | <h4 id="registry"><code>registry</code></h4> | |
| 170 | 171 | <ul> | |
| 171 | - <li>Default: “<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>”</li> | ||
| 172 | + <li>Default: "<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>"</li> | ||
| 172 | 173 | <li>Type: URL</li> | |
| 173 | 174 | </ul> | |
| 174 | 175 | <p>The base URL of the npm registry.</p> | |
| 175 | 176 | <!-- raw HTML omitted --> | |
| 176 | 177 | <!-- raw HTML omitted --> | |
| 177 | 178 | <h4 id="scope"><code>scope</code></h4> | |
| 178 | 179 | <ul> | |
| 179 | - <li>Default: the scope of the current project, if any, or “”</li> | ||
| 180 | + <li>Default: the scope of the current project, if any, or ""</li> | ||
| 180 | 181 | <li>Type: String</li> | |
| 181 | 182 | </ul> | |
| 182 | 183 | <p>Associate an operation with a scope for a scoped registry.</p> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - <html><head> | ||
| 1 | + <!DOCTYPE html><html><head> | ||
| 2 | + <meta charset="utf-8"> | ||
| 2 | 3 | <title>npm-audit</title> | |
| 3 | 4 | <style> | |
| 4 | 5 | body { | |
@@ -159,13 +160,13 @@ <h3 id="description">Description</h3> | |||
| 159 | 160 | <p>The command will exit with a 0 exit code if no vulnerabilities were found.</p> | |
| 160 | 161 | <p>Note that some vulnerabilities cannot be fixed automatically and will | |
| 161 | 162 | require manual intervention or review. Also note that since <code>npm audit fix</code> runs a full-fledged <code>npm install</code> under the hood, all configs that | |
| 162 | - apply to the installer will also apply to <code>npm install</code> – so things like | ||
| 163 | + apply to the installer will also apply to <code>npm install</code> -- so things like | ||
| 163 | 164 | <code>npm audit fix --package-lock-only</code> will work as expected.</p> | |
| 164 | 165 | <p>By default, the audit command will exit with a non-zero code if any | |
| 165 | 166 | vulnerability is found. It may be useful in CI environments to include the | |
| 166 | 167 | <code>--audit-level</code> parameter to specify the minimum vulnerability level that | |
| 167 | 168 | will cause the command to fail. This option does not filter the report | |
| 168 | - output, it simply changes the command’s failure threshold.</p> | ||
| 169 | + output, it simply changes the command's failure threshold.</p> | ||
| 169 | 170 | <h3 id="audit-endpoints">Audit Endpoints</h3> | |
| 170 | 171 | <p>There are two audit endpoints that npm may use to fetch vulnerability | |
| 171 | 172 | information: the <code>Bulk Advisory</code> endpoint and the <code>Quick Audit</code> endpoint.</p> | |
@@ -203,7 +204,7 @@ <h4 id="quick-audit-endpoint">Quick Audit Endpoint</h4> | |||
| 203 | 204 | <p>All packages in the tree are submitted to the Quick Audit endpoint. | |
| 204 | 205 | Omitted dependency types are skipped when generating the report.</p> | |
| 205 | 206 | <h4 id="scrubbing">Scrubbing</h4> | |
| 206 | - <p>Out of an abundance of caution, npm versions 5 and 6 would “scrub” any | ||
| 207 | + <p>Out of an abundance of caution, npm versions 5 and 6 would "scrub" any | ||
| 207 | 208 | packages from the submitted report if their name contained a <code>/</code> character, | |
| 208 | 209 | so as to avoid leaking the names of potentially private packages or git | |
| 209 | 210 | URLs.</p> | |
@@ -215,12 +216,12 @@ <h4 id="scrubbing">Scrubbing</h4> | |||
| 215 | 216 | <h4 id="calculating-meta-vulnerabilities-and-remediations">Calculating Meta-Vulnerabilities and Remediations</h4> | |
| 216 | 217 | <p>npm uses the | |
| 217 | 218 | <a href="http://npm.im/@npmcli/metavuln-calculator"><code>@npmcli/metavuln-calculator</code></a> | |
| 218 | - module to turn a set of security advisories into a set of “vulnerability” | ||
| 219 | - objects. A “meta-vulnerability” is a dependency that is vulnerable by | ||
| 219 | + module to turn a set of security advisories into a set of "vulnerability" | ||
| 220 | + objects. A "meta-vulnerability" is a dependency that is vulnerable by | ||
| 220 | 221 | virtue of dependence on vulnerable versions of a vulnerable package.</p> | |
| 221 | 222 | <p>For example, if the package <code>foo</code> is vulnerable in the range <code>>=1.0.2 <2.0.0</code>, and the package <code>bar</code> depends on <code>foo@^1.1.0</code>, then that version | |
| 222 | 223 | of <code>bar</code> can only be installed by installing a vulnerable version of <code>foo</code>. | |
| 223 | - In this case, <code>bar</code> is a “metavulnerability”.</p> | ||
| 224 | + In this case, <code>bar</code> is a "metavulnerability".</p> | ||
| 224 | 225 | <p>Once metavulnerabilities for a given package are calculated, they are | |
| 225 | 226 | cached in the <code>~/.npm</code> folder and only re-evaluated if the advisory range | |
| 226 | 227 | changes, or a new version of the package is published (in which case, the | |
@@ -275,7 +276,7 @@ <h3 id="configuration">Configuration</h3> | |||
| 275 | 276 | <h4 id="audit-level"><code>audit-level</code></h4> | |
| 276 | 277 | <ul> | |
| 277 | 278 | <li>Default: null</li> | |
| 278 | - <li>Type: null, “info”, “low”, “moderate”, “high”, “critical”, or “none”</li> | ||
| 279 | + <li>Type: null, "info", "low", "moderate", "high", "critical", or "none"</li> | ||
| 279 | 280 | </ul> | |
| 280 | 281 | <p>The minimum level of vulnerability for <code>npm audit</code> to exit with a non-zero | |
| 281 | 282 | exit code.</p> | |
@@ -286,7 +287,7 @@ <h4 id="dry-run"><code>dry-run</code></h4> | |||
| 286 | 287 | <li>Default: false</li> | |
| 287 | 288 | <li>Type: Boolean</li> | |
| 288 | 289 | </ul> | |
| 289 | - <p>Indicates that you don’t want npm to make any changes and that it should | ||
| 290 | + <p>Indicates that you don't want npm to make any changes and that it should | ||
| 290 | 291 | only report what it would have done. This can be passed into any of the | |
| 291 | 292 | commands that modify your local installation, eg, <code>install</code>, <code>update</code>, | |
| 292 | 293 | <code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p> | |
@@ -316,7 +317,7 @@ <h4 id="force"><code>force</code></h4> | |||
| 316 | 317 | <li>Implicitly set <code>--yes</code> during <code>npm init</code>.</li> | |
| 317 | 318 | <li>Allow clobbering existing values in <code>npm pkg</code></li> | |
| 318 | 319 | </ul> | |
| 319 | - <p>If you don’t have a clear idea of what you want to do, it is strongly | ||
| 320 | + <p>If you don't have a clear idea of what you want to do, it is strongly | ||
| 320 | 321 | recommended that you do not use this option!</p> | |
| 321 | 322 | <!-- raw HTML omitted --> | |
| 322 | 323 | <!-- raw HTML omitted --> | |
@@ -348,9 +349,9 @@ <h4 id="package-lock-only"><code>package-lock-only</code></h4> | |||
| 348 | 349 | <!-- raw HTML omitted --> | |
| 349 | 350 | <h4 id="omit"><code>omit</code></h4> | |
| 350 | 351 | <ul> | |
| 351 | - <li>Default: ‘dev’ if the <code>NODE_ENV</code> environment variable is set to | ||
| 352 | - ‘production’, otherwise empty.</li> | ||
| 353 | - <li>Type: “dev”, “optional”, or “peer” (can be set multiple times)</li> | ||
| 352 | + <li>Default: 'dev' if the <code>NODE_ENV</code> environment variable is set to | ||
| 353 | + 'production', otherwise empty.</li> | ||
| 354 | + <li>Type: "dev", "optional", or "peer" (can be set multiple times)</li> | ||
| 354 | 355 | </ul> | |
| 355 | 356 | <p>Dependency types to omit from the installation tree on disk.</p> | |
| 356 | 357 | <p>Note that these dependencies <em>are</em> still resolved and added to the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - <html><head> | ||
| 1 | + <!DOCTYPE html><html><head> | ||
| 2 | + <meta charset="utf-8"> | ||
| 2 | 3 | <title>npm-bin</title> | |
| 3 | 4 | <style> | |
| 4 | 5 | body { | |
@@ -159,7 +160,7 @@ <h4 id="global"><code>global</code></h4> | |||
| 159 | 160 | <li>Default: false</li> | |
| 160 | 161 | <li>Type: Boolean</li> | |
| 161 | 162 | </ul> | |
| 162 | - <p>Operates in “global” mode, so that packages are installed into the <code>prefix</code> | ||
| 163 | + <p>Operates in "global" mode, so that packages are installed into the <code>prefix</code> | ||
| 163 | 164 | folder instead of the current working directory. See | |
| 164 | 165 | <a href="../configuring-npm/folders.html">folders</a> for more on the differences in behavior.</p> | |
| 165 | 166 | <ul> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - <html><head> | ||
| 1 | + <!DOCTYPE html><html><head> | ||
| 2 | + <meta charset="utf-8"> | ||
| 2 | 3 | <title>npm-bugs</title> | |
| 3 | 4 | <style> | |
| 4 | 5 | body { | |
@@ -150,7 +151,7 @@ <h2 id="table-of-contents">Table of contents</h2> | |||
| 150 | 151 | aliases: issues | |
| 151 | 152 | </code></pre> | |
| 152 | 153 | <h3 id="description">Description</h3> | |
| 153 | - <p>This command tries to guess at the likely location of a package’s bug | ||
| 154 | + <p>This command tries to guess at the likely location of a package's bug | ||
| 154 | 155 | tracker URL or the <code>mailto</code> URL of the support email, and then tries to | |
| 155 | 156 | open it using the <code>--browser</code> config param. If no package name is provided, it | |
| 156 | 157 | will search for a <code>package.json</code> in the current folder and use the <code>name</code> property.</p> | |
@@ -171,7 +172,7 @@ <h4 id="browser"><code>browser</code></h4> | |||
| 171 | 172 | <!-- raw HTML omitted --> | |
| 172 | 173 | <h4 id="registry"><code>registry</code></h4> | |
| 173 | 174 | <ul> | |
| 174 | - <li>Default: “<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>”</li> | ||
| 175 | + <li>Default: "<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>"</li> | ||
| 175 | 176 | <li>Type: URL</li> | |
| 176 | 177 | </ul> | |
| 177 | 178 | <p>The base URL of the npm registry.</p> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - <html><head> | ||
| 1 | + <!DOCTYPE html><html><head> | ||
| 2 | + <meta charset="utf-8"> | ||
| 2 | 3 | <title>npm-cache</title> | |
| 3 | 4 | <style> | |
| 4 | 5 | body { | |
@@ -141,7 +142,7 @@ <h1 id="npm-cache">npm-cache</h1> | |||
| 141 | 142 | ||
| 142 | 143 | <section id="table_of_contents"> | |
| 143 | 144 | <h2 id="table-of-contents">Table of contents</h2> | |
| 144 | - <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#details">Details</a></li><li><a href="#a-note-about-the-caches-design">A note about the cache’s design</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#cache"><code>cache</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 145 | + <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#details">Details</a></li><li><a href="#a-note-about-the-caches-design">A note about the cache's design</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#cache"><code>cache</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 145 | 146 | </section> | |
| 146 | 147 | ||
| 147 | 148 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | |
@@ -168,7 +169,7 @@ <h3 id="description">Description</h3> | |||
| 168 | 169 | <li> | |
| 169 | 170 | <p>clean: | |
| 170 | 171 | Delete all data out of the cache folder. Note that this is typically | |
| 171 | - unnecessary, as npm’s cache is self-healing and resistant to data | ||
| 172 | + unnecessary, as npm's cache is self-healing and resistant to data | ||
| 172 | 173 | corruption issues.</p> | |
| 173 | 174 | </li> | |
| 174 | 175 | <li> | |
@@ -195,7 +196,7 @@ <h3 id="details">Details</h3> | |||
| 195 | 196 | used directly.</p> | |
| 196 | 197 | <p>npm will not remove data by itself: the cache will grow as new packages are | |
| 197 | 198 | installed.</p> | |
| 198 | - <h3 id="a-note-about-the-caches-design">A note about the cache’s design</h3> | ||
| 199 | + <h3 id="a-note-about-the-caches-design">A note about the cache's design</h3> | ||
| 199 | 200 | <p>The npm cache is strictly a cache: it should not be relied upon as a | |
| 200 | 201 | persistent and reliable data store for package data. npm makes no guarantee | |
| 201 | 202 | that a previously-cached piece of data will be available later, and will | |
@@ -212,7 +213,7 @@ <h4 id="cache"><code>cache</code></h4> | |||
| 212 | 213 | <li>Default: Windows: <code>%LocalAppData%\npm-cache</code>, Posix: <code>~/.npm</code></li> | |
| 213 | 214 | <li>Type: Path</li> | |
| 214 | 215 | </ul> | |
| 215 | - <p>The location of npm’s cache directory. See <a href="../commands/npm-cache.html"><code>npm cache</code></a></p> | ||
| 216 | + <p>The location of npm's cache directory. See <a href="../commands/npm-cache.html"><code>npm cache</code></a></p> | ||
| 216 | 217 | <!-- raw HTML omitted --> | |
| 217 | 218 | <!-- raw HTML omitted --> | |
| 218 | 219 | <!-- raw HTML omitted --> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - <html><head> | ||
| 1 | + <!DOCTYPE html><html><head> | ||
| 2 | + <meta charset="utf-8"> | ||
| 2 | 3 | <title>npm-ci</title> | |
| 3 | 4 | <style> | |
| 4 | 5 | body { | |
@@ -149,9 +150,9 @@ <h2 id="table-of-contents">Table of contents</h2> | |||
| 149 | 150 | </code></pre> | |
| 150 | 151 | <h3 id="description">Description</h3> | |
| 151 | 152 | <p>This command is similar to <a href="../commands/npm-install.html"><code>npm install</code></a>, except | |
| 152 | - it’s meant to be used in automated environments such as test platforms, | ||
| 153 | - continuous integration, and deployment – or any situation where you want | ||
| 154 | - to make sure you’re doing a clean install of your dependencies.</p> | ||
| 153 | + it's meant to be used in automated environments such as test platforms, | ||
| 154 | + continuous integration, and deployment -- or any situation where you want | ||
| 155 | + to make sure you're doing a clean install of your dependencies.</p> | ||
| 155 | 156 | <p><code>npm ci</code> will be significantly faster when:</p> | |
| 156 | 157 | <ul> | |
| 157 | 158 | <li>There is a <code>package-lock.json</code> or <code>npm-shrinkwrap.json</code> file.</li> | |
@@ -199,7 +200,7 @@ <h4 id="audit"><code>audit</code></h4> | |||
| 199 | 200 | <li>Default: true</li> | |
| 200 | 201 | <li>Type: Boolean</li> | |
| 201 | 202 | </ul> | |
| 202 | - <p>When “true” submit audit reports alongside the current npm command to the | ||
| 203 | + <p>When "true" submit audit reports alongside the current npm command to the | ||
| 203 | 204 | default registry and all registries configured for scopes. See the | |
| 204 | 205 | documentation for <a href="../commands/npm-audit.html"><code>npm audit</code></a> for details on what is | |
| 205 | 206 | submitted.</p> | |
@@ -219,7 +220,7 @@ <h4 id="ignore-scripts"><code>ignore-scripts</code></h4> | |||
| 219 | 220 | <!-- raw HTML omitted --> | |
| 220 | 221 | <h4 id="script-shell"><code>script-shell</code></h4> | |
| 221 | 222 | <ul> | |
| 222 | - <li>Default: ‘/bin/sh’ on POSIX systems, ‘cmd.exe’ on Windows</li> | ||
| 223 | + <li>Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows</li> | ||
| 223 | 224 | <li>Type: null or String</li> | |
| 224 | 225 | </ul> | |
| 225 | 226 | <p>The shell to use for scripts run with the <code>npm exec</code>, <code>npm run</code> and <code>npm init <pkg></code> commands.</p> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments