You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If package-lock-only is enabled, only the information in the package
148
-
lock (or shrinkwrap) is loaded. This means that information from the
149
-
package.json files of your dependencies will not be included in the
150
-
result set (e.g. description, homepage, engines).
163
+
If package-lock-only is enabled, only the information in the package lock (or shrinkwrap) is loaded. This means that information from the package.json files of your dependencies will not be included in the result set (e.g. description, homepage, engines).
151
164
152
165
### Configuration
153
166
@@ -235,6 +248,25 @@ For `list` this means the output will be based on the tree described by the
235
248
`package-lock.json`, rather than the contents of `node_modules`.
236
249
237
250
251
+
252
+
#### `expect-results`
253
+
254
+
* Default: null
255
+
* Type: null or Boolean
256
+
257
+
Tells npm whether or not to expect results from the command. Can be either
258
+
true(expect some results) or false (expect no results).
259
+
260
+
This config can not be used with: `expect-result-count`
261
+
262
+
#### `expect-result-count`
263
+
264
+
* Default: null
265
+
* Type: null or Number
266
+
267
+
Tells to expect a specific number of results from the command.
268
+
269
+
This config can not be used with: `expect-results`
0 commit comments