Closed depiction closed 4 years ago
The documentation says that the following packages are optional:
However, in package.json, the above packages are listed in peerDependencies. If they are optional, they should be listed in optionalDependencies.(https://docs.npmjs.com/files/package.json#optionaldependencies)
package.json
@depiction you are totally right. I didn't know optionalDependencies existed. Thank you for letting me know. Version 0.7.1 contains this change.
optionalDependencies
The documentation says that the following packages are optional:
However, in
package.json
, the above packages are listed in peerDependencies. If they are optional, they should be listed in optionalDependencies.(https://docs.npmjs.com/files/package.json#optionaldependencies)