Napacitor CLI - nap list
List the @napacitor/* packages installed in the app, along with their declared versions.
npx nap list
Behavior:
- Reads
package.json(bothdependenciesanddevDependencies). - Prints every package whose name starts with
@napacitor/, sorted by name.
Example output:
已安装的 Napacitor 包(4):
@napacitor/cli 0.1.0
@napacitor/core 0.1.0
@napacitor/device 0.1.0
@napacitor/maui 0.1.0
If no @napacitor/* packages are installed, the command prints a notice instead.