Utilities
The jspm pm command group provides a set of utilities for working with JSTime’s package manager.
To print the path to the bin directory for the local project:
$ jspm pm bin/path/to/current/project/node_modules/.binTo print the path to the global bin directory:
$ jspm pm bin -g<$HOME>/.jstime/binTo print a list of installed dependencies in the current project and their resolved versions, excluding their dependencies.
$ jspm pm ls/path/to/project node_modules (135)├── eslint@8.38.0├── react@18.2.0├── react-dom@18.2.0├── typescript@5.0.4└── zod@3.21.4To print all installed dependencies, including nth-order dependencies.
$ jspm pm ls --all/path/to/project node_modules (135)├── @eslint-community/eslint-utils@4.4.0├── @eslint-community/regexpp@4.5.0├── @eslint/eslintrc@2.0.2├── @eslint/js@8.38.0├── @nodelib/fs.scandir@2.1.5├── @nodelib/fs.stat@2.0.5├── @nodelib/fs.walk@1.2.8├── acorn@8.8.2├── acorn-jsx@5.3.2├── ajv@6.12.6├── ansi-regex@5.0.1├── ...To print the path to JSTime’s global module cache:
$ jspm pm cacheTo clear JSTime’s global module cache:
$ jspm pm cache rm