Skip to content

Commit 3971499

Browse files
Update package-file.md
1 parent 781e52b commit 3971499

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cheatsheets/javascript/npm/package-file.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ NPM docs:
1414

1515
## Base
1616

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.
1820

1921
**Sample**
2022

0 commit comments

Comments
 (0)