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
Copy file name to clipboardExpand all lines: docs/lib/content/configuring-npm/package-lock-json.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,12 @@ Package descriptors have the following fields:
119
119
120
120
* bin, license, engines, dependencies, optionalDependencies: fields from `package.json`
121
121
122
+
* os: An array of operating systems this package is compatible with, as specified in `package.json`. This field is included when the package specifies OS restrictions.
123
+
124
+
* cpu: An array of CPU architectures this package is compatible with, as specified in `package.json`. This field is included when the package specifies CPU restrictions.
125
+
126
+
* funding: Funding information for the package, as specified in `package.json`. This field contains details about how to support the package maintainers.
127
+
122
128
#### dependencies
123
129
124
130
Legacy data for supporting versions of npm that use `lockfileVersion: 1`.
0 commit comments