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: deps/npm/docs/content/using-npm/scripts.md
+6
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,12 @@ will default the `start` command to `node server.js`. `prestart` and
203
203
*`test`
204
204
*`posttest`
205
205
206
+
#### [`npm version`](/commands/npm-version)
207
+
208
+
*`preversion`
209
+
*`version`
210
+
*`postversion`
211
+
206
212
#### A Note on a lack of [`npm uninstall`](/commands/npm-uninstall) scripts
207
213
208
214
While npm v6 had `uninstall` lifecycle scripts, npm v7 does not. Removal of a package can happen for a wide variety of reasons, and there's no clear way to currently give the script enough context to be useful.
0 commit comments