Update specifying-dependencies-and-devdependencies-in-a-package-json-… (#1221)

…file.mdx mention shortcut flags <!-- What / Why --> for convenience, mention abbreviated versions of `--save-prod` and `--save-dev`

shallow-beach committed Aug 8, 2024 at 12:53 UTC 35e17e89bc4b32210e88594e8333108f45de7a1e
1 file changed +1 -1
content/packages-and-modules/contributing-packages-to-the-registry/specifying-dependencies-and-devdependencies-in-a-package-json-file.mdx
+1 -1
@@ -13,7 +13,7 @@ You can add dependencies to a `package.json` file from the command line or by ma
13
14 ### Adding dependencies to a `package.json` file from the command line
15
16 -To add dependencies and devDependencies to a `package.json` file from the command line, you can install them in the root directory of your package using the `--save-prod` flag for dependencies (the default behavior of `npm install`) or the `--save-dev` flag for devDependencies.
16 +To add dependencies and devDependencies to a `package.json` file from the command line, you can install them in the root directory of your package using the `--save-prod` flag (also `-S`) for dependencies (the default behavior of `npm install`) or the `--save-dev` flag (also `-D`) for devDependencies.
17
18 To add an entry to the `"dependencies"` attribute of a `package.json` file, on the command line, run the following command:
19