docs: Require npm version for set-script command (#11309)

This commit is contained in:
Ryan Gatchalian authored and GitHub committed 2021-08-05 18:33:42 +09:00
1 parent b6fd414918
commit 51361ae851
1 file changed
+2
+2
View File
@@ -120,6 +120,8 @@ For example, you can do the following to have Prettier run before each commit:
<!--END_DOCUSAURUS_CODE_TABS-->
> Note: npm **set-script** command requires at least **npm v7.x**. See https://docs.npmjs.com/cli/v7/commands/npm-set-script.
2. Add the following to your `package.json`:
```json