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: cheatsheets/javascript/npm/package-file.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ NPM docs:
14
14
15
15
## Base
16
16
17
-
A `package.json` file, based mostly on the default one you get fron `npm init` and accepting defaults.
17
+
A `package.json` file, based mostly on the default one you get fron `npm init` and accepting defaults. Spaces will be removed by NPM but help here for readability.
18
+
19
+
It can be useful to put `scripts` near the top like here and dependencies at the bottom, to make it easy to regularly check what scripts are configured.
0 commit comments