Practice this fail.
Inspect the parcel.
npm · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
In a trusted package, preview the files npm would pack without creating a tarball or running lifecycle scripts. Do not publish.
Inspect the parcel.
$ ls
Some local files should not ship.
How do you preview the package file list without creating a tarball?
Fixed. By hand.
npm pack --dry-run --ignore-scriptsnpm pack --dry-run reports the package contents without producing the tarball. --ignore-scripts also suppresses lifecycle scripts, avoiding side effects from package hooks while inspecting.
Practice does not affect your daily score or streak.