docs: Require npm version for set-script command (#11309)
This commit is contained in:
1 parent
b6fd414918
commit
51361ae851
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user