-
Notifications
You must be signed in to change notification settings - Fork 0
/
.npmrc
1557 lines (1338 loc) · 52.1 KB
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#### .npmrc - npm configuration file
# Configuration file for npm CLI.
# This file allows you to customize npm behavior.
# You can set global or project-specific options using this file.
# Documentation: https://docs.npmjs.com/files/npmrc
# _auth
# A basic-auth string to use when authenticating against the npm registry. This will ONLY be used to authenticate against the npm registry. For other registries, you will need to scope it like "//other-registry.tld/:_auth"
# Warning: This should generally not be set via a command-line option. It is safer to use a registry-provided authentication bearer token stored in the ~/.npmrc file by running `npm login`.
# Default: null
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#_auth
# _auth=null
# access
# If you do not want your scoped package to be publicly viewable (and installable) set --access=restricted.
# Note: This defaults to not changing the current access level for existing packages. Specifying a value of `restricted` or `public` during publish will change the access for an existing package the same way that `npm access set status` would.
# Default: 'public' for new packages, existing packages it will not change the current level
# Type: null, "restricted", or "public"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#access
access=public
# all
# When running `npm outdated` and `npm ls`, setting `--all` will show all outdated or installed packages, rather than only those directly depended upon by the current project.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#all
all=false
# allow-same-version
# Prevents throwing an error when `npm version` is used to set the new version to the same value as the current version.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#allow-same-version
allow-same-version=false
# audit
# When "true" submit audit reports alongside the current npm command to the default registry and all registries configured for scopes. See the documentation for `npm audit` for details on what is submitted.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#audit
audit=true
# audit-level
# The minimum level of vulnerability for `npm audit` to exit with a non-zero exit code.
# Default: null
# Type: null, "info", "low", "moderate", "high", "critical", or "none"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#audit-level
audit-level=low
# auth-type
# What authentication strategy to use with login. Note that if an `otp` config is given, this value will always be set to legacy.
# Default: "web"
# Type: "legacy" or "web"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#auth-type
auth-type=web
# before
# If passed to `npm install`, will rebuild the npm tree such that only versions that were available on or before the `--before` time get installed. If there's no versions available for the current set of direct dependencies, the command will error.
# Default: null
# Type: null or Date
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#before
# before=null
# bin-links
# Tells npm to create symlinks (or .cmd shims on Windows) for package executables.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#bin-links
bin-links=true
# browser
# The browser that is called by npm commands to open websites.
# Default: OS X: "open", Windows: "start", Others: "xdg-open"
# Type: null, Boolean, or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#browser
browser=true
# ca
# The Certificate Authority signing certificate that is trusted for SSL connections to the registry. Values should be in PEM format with newlines replaced by the string "\n".
# Default: null
# Type: null or String (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#ca
# ca=null
# cache
# The location of npm's cache directory.
# Default: Windows: %LocalAppData%\npm-cache, Posix: ~/.npm
# Type: Path
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#cache
cache=./.cache/npm/npm-cache
# cafile
# A path to a file containing one or multiple Certificate Authority signing certificates. Similar to the `ca` setting, but allows for multiple CA's, as well as for the CA information to be stored in a file on disk.
# Default: null
# Type: Path
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#cafile
# cafile=null
# call
# Optional companion option for `npm exec`, `npx` that allows for specifying a custom command to be run along with the installed packages.
# Default: ""
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#call
# call=""
# cidr
# This is a list of CIDR address to be used when configuring limited access tokens with the `npm token create` command.
# Default: null
# Type: null or String (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#cidr
# cidr=null
# color
# If false, never shows colors. If "always" then always shows colors. If true, then only prints color codes for tty file descriptors.
# Default: true unless the NO_COLOR environment is set to something other than '0'
# Type: "always" or Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#color
color=true
# commit-hooks
# Run git commit hooks when using the `npm version` command.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#commit-hooks
commit-hooks=true
# cpu
# Override CPU architecture of native modules to install.
# Default: null
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#cpu
# cpu=null
# depth
# The depth to go when recursing packages for `npm ls`.
# Default: Infinity if --all is set, otherwise 1
# Type: null or Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#depth
depth=1
# description
# Show the description in `npm search`.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#description-1
description=true
# diff
# Define arguments to compare in `npm diff`.
# Default: ""
# Type: String (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff
# diff=""
# diff-dst-prefix
# Destination prefix to be used in `npm diff` output.
# Default: "b/"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff-dst-prefix
diff-dst-prefix="b/"
# diff-ignore-all-space
# Ignore whitespace when comparing lines in `npm diff`.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff-ignore-all-space
diff-ignore-all-space=false
# diff-name-only
# Prints only filenames when using `npm diff`.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff-name-only
diff-name-only=false
# diff-no-prefix
# Do not show any source or destination prefix in `npm diff` output.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff-no-prefix
diff-no-prefix=false
# diff-src-prefix
# Source prefix to be used in `npm diff` output.
# Default: "a/"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff-src-prefix
diff-src-prefix="a/"
# diff-text
# Treat all files as text in `npm diff`.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff-text
diff-text=false
# diff-unified
# The number of lines of context to print in `npm diff`.
# Default: 3
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#diff-unified
diff-unified=3
# dry-run
# Indicates that you don't want npm to make any changes and that it should only report what it would have done.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#dry-run
dry-run=false
# editor
# The command to run for `npm edit` and `npm config edit`.
# Default: The EDITOR or VISUAL environment variables, or '%SYSTEMROOT%\notepad.exe' on Windows, or 'vi' on Unix systems
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#editor
# editor=""
# engine-strict
# If set to true, then npm will stubbornly refuse to install (or even consider installing) any package that claims to not be compatible with the current Node.js version.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#engine-strict
engine-strict=true
# expect-result-count
# Tells to expect a specific number of results from the command.
# Default: null
# Type: null or Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#expect-result-count
# expect-result-count=null
# expect-results
# Tells npm whether or not to expect results from the command. Can be either true (expect some results) or false (expect no results).
# Default: null
# Type: null or Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#expect-results
# expect-results=null
# fetch-retries
# The "retries" config for the retry module to use when fetching packages from the registry.
# Default: 2
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#fetch-retries
fetch-retries=2
# fetch-retry-factor
# The "factor" config for the retry module to use when fetching packages.
# Default: 10
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#fetch-retry-factor
fetch-retry-factor=10
# fetch-retry-maxtimeout
# The "maxTimeout" config for the retry module to use when fetching packages.
# Default: 60000 (1 minute)
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#fetch-retry-maxtimeout
fetch-retry-maxtimeout=60000
# fetch-retry-mintimeout
# The "minTimeout" config for the retry module to use when fetching packages.
# Default: 10000 (10 seconds)
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#fetch-retry-mintimeout
fetch-retry-mintimeout=10000
# fetch-timeout
# The maximum amount of time to wait for HTTP requests to complete.
# Default: 300000 (5 minutes)
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#fetch-timeout
fetch-timeout=300000
# force
# Removes various protections against unfortunate side effects, common mistakes, unnecessary performance degradation, and malicious input.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#force
force=false
# foreground-scripts
# Run all build scripts (ie, preinstall, install, and postinstall) scripts for installed packages in the foreground process, sharing standard input, output, and error with the main npm process.
# Default: false unless when using npm pack or npm publish where it defaults to true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#foreground-scripts
foreground-scripts=false
# format-package-lock
# Format package-lock.json or npm-shrinkwrap.json as a human readable file.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#format-package-lock
format-package-lock=true
# fund
# When "true" displays the message at the end of each npm install acknowledging the number of dependencies looking for funding.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#fund
fund=false
# git
# The command to use for git commands. If git is installed on the computer, but is not in the PATH, then set this to the full path to the git binary.
# Default: "git"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#git
git="git"
# git-tag-version
# Tag the commit when using the npm version command. Setting this to false results in no commit being made at all.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#git-tag-version
git-tag-version=true
# global
# Operates in "global" mode, so that packages are installed into the prefix folder instead of the current working directory.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#global
global=false
# globalconfig
# The config file to read for global config options.
# Default: The global --prefix setting plus 'etc/npmrc'. For example, '/usr/local/etc/npmrc'
# Type: Path
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#globalconfig
# globalconfig=""
# heading
# The string that starts all the debugging log output.
# Default: "npm"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#heading
heading="npm"
# https-proxy
# A proxy to use for outgoing https requests.
# Default: null
# Type: null or URL
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#https-proxy
# https-proxy=null
# if-present
# If true, npm will not exit with an error code when run-script is invoked for a script that isn't defined in the scripts section of package.json.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#if-present
if-present=false
# ignore-scripts
# If true, npm does not run scripts specified in package.json files.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#ignore-scripts
ignore-scripts=false
# include
# Option that allows for defining which types of dependencies to install.
# Default: ""
# Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#include
# include=""
# include-staged
# Allow installing "staged" published packages.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#include-staged
include-staged=false
# include-workspace-root
# Include the workspace root when workspaces are enabled for a command.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#include-workspace-root
include-workspace-root=false
# install-links
# When set, file: protocol dependencies will be packed and installed as regular dependencies instead of creating a symlink.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#install-links
install-links=true
# install-strategy
# Sets the strategy for installing packages in node_modules.
# Default: "hoisted"
# Type: "hoisted", "nested", "shallow", or "linked"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#install-strategy
install-strategy="hoisted"
# json
# Whether or not to output JSON data, rather than the normal output.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#json
json=false
# legacy-peer-deps
# Causes npm to completely ignore peerDependencies when building a package tree.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#legacy-peer-deps
legacy-peer-deps=false
# libc
# Override libc of native modules to install.
# Default: null
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#libc
# libc=null
# link
# Used with npm ls, limiting output to only those packages that are linked.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#link
link=false
# local-address
# The IP address of the local interface to use when making connections to the npm registry. Must be IPv4 in versions of Node prior to 0.12.
# Default: null
# Type: IP Address
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#local-address
# local-address=null
# location
# Refers to which config file to use.
# Default: "user" unless --global is passed, which will also set this value to "global"
# Type: "global", "user", or "project"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#location
location="project"
# lockfile-version
# Set the lockfile format version to be used in package-lock.json and npm-shrinkwrap.json files.
# Default: Version 3 if no lockfile, auto-converting v1 lockfiles to v3, otherwise maintain current lockfile version.
# Type: null, 1, 2, 3, "1", "2", or "3"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#lockfile-version
lockfile-version=3
# loglevel
# What level of logs to report.
# Default: "notice"
# Type: "silent", "error", "warn", "notice", "http", "info", "verbose", or "silly"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#loglevel
loglevel="notice"
# logs-dir
# The location of npm's log directory.
# Default: A directory named _logs inside the cache
# Type: null or Path
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#logs-dir
logs-dir=./.cache/npm/logs
# logs-max
# The maximum number of log files to store.
# Default: 10
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#logs-max
logs-max=10
# long
# Show extended information in ls, search, and help-search.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#long
long=true
# maxsockets
# The maximum number of connections to use per origin (protocol/host/port combination).
# Default: 15
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#maxsockets
maxsockets=15
# message
# Commit message which is used by npm version when creating version commit.
# Default: "%s"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#message
message="%s"
# node-options
# Options to pass through to Node.js via the NODE_OPTIONS environment variable.
# Default: null
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#node-options
# https://nodejs.org/api/cli.html
node-options="--max-old-space-size=4096 --trace-warnings --report-directory=./reports --report-filename=report-%YY%MM%DD-%HH%MM%SS-%pid.txt"
# noproxy
# Domain extensions that should bypass any proxies.
# Default: The value of the NO_PROXY environment variable
# Type: String (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#noproxy
# noproxy=""
# offline
# Force offline mode: no network requests will be done during install.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#offline
offline=false
# omit
# Dependency types to omit from the installation tree on disk.
# Default: 'dev' if the NODE_ENV environment variable is set to 'production', otherwise empty.
# Type: "dev", "optional", or "peer" (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#omit
# omit=""
# omit-lockfile-registry-resolved
# This option causes npm to create lock files without a resolved key for registry dependencies.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#omit-lockfile-registry-resolved
omit-lockfile-registry-resolved=false
# os
# Override OS of native modules to install.
# Default: null
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#os
# os=null
# otp
# This is a one-time password from a two-factor authenticator.
# Default: null
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#otp
# otp=null
# pack-destination
# Directory in which npm pack will save tarballs.
# Default: "."
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#pack-destination
pack-destination="."
# package
# The package or packages to install for npm exec.
# Default: ""
# Type: String (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#package
# package=""
# package-lock
# If set to false, then ignore package-lock.json files when installing.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#package-lock
package-lock=true
# package-lock-only
# If set to true, the current operation will only use the package-lock.json, ignoring node_modules.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#package-lock-only
package-lock-only=false
# parseable
# Output parseable results from commands that write to standard output.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#parseable
parseable=false
# prefer-dedupe
# Prefer to deduplicate packages if possible, rather than choosing a newer version of a dependency.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#prefer-dedupe
prefer-dedupe=false
# prefer-offline
# If true, staleness checks for cached data will be bypassed, but missing data will be requested from the server.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#prefer-offline
prefer-offline=false
# prefer-online
# If true, staleness checks for cached data will be forced, making the CLI look for updates immediately even for fresh package data.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#prefer-online
prefer-online=false
# prefix
# The location to install global items.
# Default: In global mode, the folder where the node executable is installed. Otherwise, the nearest parent folder containing either a package.json file or a node_modules folder.
# Type: Path
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#prefix
# prefix=""
# preid
# The "prerelease identifier" to use as a prefix for the "prerelease" part of a semver.
# Default: ""
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#preid
# preid=""
# progress
# When set to true, npm will display a progress bar during time intensive operations.
# Default: true unless running in a known CI system
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#progress
progress=true
# provenance
# When publishing from a supported cloud CI/CD system, the package will be publicly linked to where it was built and published from.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#provenance
provenance=false
# provenance-file
# When publishing, the provenance bundle at the given path will be used.
# Default: null
# Type: Path
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#provenance-file
# provenance-file=null
# proxy
# A proxy to use for outgoing http requests.
# Default: null
# Type: null, false, or URL
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#proxy
# proxy=null
# read-only
# This is used to mark a token as unable to publish when configuring limited access tokens with the npm token create command.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#read-only
read-only=false
# rebuild-bundle
# Rebuild bundled dependencies after installation.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#rebuild-bundle
rebuild-bundle=true
# registry
# The base URL of the npm registry.
# Default: "https://registry.npmjs.org/"
# Type: URL
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#registry
registry="https://registry.npmjs.org/"
# replace-registry-host
# Defines behavior for replacing the registry host in a lockfile with the configured registry.
# Default: "npmjs"
# Type: "npmjs", "never", "always", or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#replace-registry-host
replace-registry-host="npmjs"
# save
# Save installed packages to a package.json file as dependencies.
# Default: true unless when using npm update where it defaults to false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save
save=true
# save-bundle
# If a package would be saved at install time by the use of --save, --save-dev, or --save-optional, then also put it in the bundleDependencies list.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save-bundle
save-bundle=false
# save-dev
# Save installed packages to a package.json file as devDependencies.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save-dev
save-dev=false
# save-exact
# Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save-exact
save-exact=false
# save-optional
# Save installed packages to a package.json file as optionalDependencies.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save-optional
save-optional=false
# save-peer
# Save installed packages to a package.json file as peerDependencies.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save-peer
save-peer=false
# save-prefix
# Configure how versions of packages installed to a package.json file via --save or --save-dev get prefixed.
# Default: "^"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save-prefix
save-prefix=""
# save-prod
# Save installed packages into dependencies specifically.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#save-prod
save-prod=false
# sbom-format
# SBOM format to use when generating SBOMs.
# Default: null
# Type: "cyclonedx" or "spdx"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#sbom-format
sbom-format="spdx"
# sbom-type
# The type of package described by the generated SBOM.
# Default: "library"
# Type: "library", "application", or "framework"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#sbom-type
sbom-type="library"
# scope
# Associate an operation with a scope for a scoped registry.
# Default: the scope of the current project, if any, or ""
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#scope
# scope=""
# script-shell
# The shell to use for scripts run with the npm exec, npm run and npm init <package-spec> commands.
# Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#script-shell
# script-shell="/bin/sh"
# searchexclude
# Space-separated options that limit the results from search.
# Default: ""
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#searchexclude
# searchexclude=""
# searchlimit
# Number of items to limit search results to.
# Default: 20
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#searchlimit
searchlimit=20
# searchopts
# Space-separated options that are always passed to search.
# Default: ""
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#searchopts
# searchopts=""
# searchstaleness
# The age of the cache, in seconds, before another registry request is made if using legacy search endpoint.
# Default: 900
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#searchstaleness
searchstaleness=900
# shell
# The shell to run for the npm explore command.
# Default: SHELL environment variable, or "bash" on Posix, or "cmd.exe" on Windows
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#shell
# shell="bash"
# sign-git-commit
# If set to true, then the npm version command will commit the new package version using -S to add a signature.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#sign-git-commit
sign-git-commit=false
# sign-git-tag
# If set to true, then the npm version command will tag the version using -s to add a signature.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#sign-git-tag
sign-git-tag=false
# strict-peer-deps
# If set to true, and --legacy-peer-deps is not set, then any conflicting peerDependencies will be treated as an install failure.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#strict-peer-deps
strict-peer-deps=false
# strict-ssl
# Whether or not to do SSL key validation when making requests to the registry via https.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#strict-ssl
strict-ssl=true
# tag
# If you ask npm to install a package and don't tell it a specific version, then it will install the specified tag.
# Default: "latest"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#tag
tag="latest"
# tag-version-prefix
# If set, alters the prefix used when tagging a new version when performing a version increment using npm version.
# Default: "v"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#tag-version-prefix
tag-version-prefix="v"
# timing
# If true, writes timing information to a process specific json file in the cache or logs-dir.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#timing
timing=false
# umask
# The "umask" value to use when setting the file creation mode on files and folders.
# Default: 0
# Type: Octal numeric string in range 0000..0777 (0..511)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#umask
umask="0000"
# unicode
# When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs.
# Default: false on windows, true on mac/unix systems with a unicode locale
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#unicode
unicode=true
# update-notifier
# Set to false to suppress the update notification when using an older version of npm than the latest.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#update-notifier
update-notifier=true
# usage
# Show short usage output about the command specified.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#usage
usage=false
# user-agent
# Sets the User-Agent request header.
# Default: "npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#user-agent
user-agent="npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}"
# userconfig
# The location of user-level configuration settings.
# Default: "~/.npmrc"
# Type: Path
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#userconfig
userconfig="~/.npmrc"
# version
# If true, output the npm version and exit successfully.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#version
version=false
# versions
# If true, output the npm version as well as node's process.versions map.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#versions
versions=false
# viewer
# The program to use to view help content.
# Default: "man" on Posix, "browser" on Windows
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#viewer
# viewer="man"
# which
# If there are multiple funding sources, which 1-indexed source URL to open.
# Default: null
# Type: null or Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#which
# which=null
# workspace
# Enable running a command in the context of the configured workspaces of the current project.
# Default:
# Type: String (can be set multiple times)
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#workspace
# workspace=""
# workspaces
# Set to true to run the command in the context of all configured workspaces.
# Default: null
# Type: null or Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#workspaces
workspaces=false
# workspaces-update
# If set to true, the npm cli will run an update after operations that may possibly change the workspaces installed to the node_modules folder.
# Default: true
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#workspaces-update
workspaces-update=true
# yes
# Automatically answer "yes" to any prompts that npm might print on the command line.
# Default: null
# Type: null or Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#yes
yes=true
# also
# DEPRECATED: Please use --include=dev instead.
# Default: null
# Type: null, "dev", or "development"
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#also
# also=null
# cache-max
# DEPRECATED: This option has been deprecated in favor of --prefer-online
# Default: Infinity
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#cache-max
# cache-max=Infinity
# cache-min
# DEPRECATED: This option has been deprecated in favor of --prefer-offline.
# Default: 0
# Type: Number
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#cache-min
# cache-min=0
# cert
# DEPRECATED: key and cert are no longer used for most registry operations.
# Default: null
# Type: null or String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#cert
# cert=null
# dev
# DEPRECATED: Please use --include=dev instead.
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#dev
# dev=false
# global-style
# DEPRECATED: This option has been deprecated in favor of --install-strategy=shallow
# Default: false
# Type: Boolean
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#global-style
# global-style=false
# init.author.email
# DEPRECATED: Use --init-author-email instead.
# Default: ""
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#init-author-email
# init.author.email=""
# init.author.name
# DEPRECATED: Use --init-author-name instead.
# Default: ""
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#init-author-name
# init.author.name=""
# init.author.url
# DEPRECATED: Use --init-author-url instead.
# Default: ""
# Type: "" or URL
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#init-author-url
# init.author.url=""
# init.license
# DEPRECATED: Use --init-license instead.
# Default: "ISC"
# Type: String
# Reference: https://docs.npmjs.com/cli/v10/using-npm/config#init-license
# init.license="ISC"
# init.module
# DEPRECATED: Use --init-module instead.
# Default: "~/.npm-init.js"
# Type: Path