Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

536
Views
How do I set "Configuration" options for "npm pack" commands?

Doc page https://docs.npmjs.com/cli/v8/commands/npm-pack has very useful configuration options. Right now I want to use config "pack-destination" per https://docs.npmjs.com/cli/v8/commands/npm-pack#pack-destination, but they give no invocation examples and no hint about how to make these settings.

I have tried setting "pack-destination" in my active npmrc file, via command-line switch "--pack-destination=dirpath" (with both absolute and absolute paths), argument "pack-destination=dirpath". The first two have no effect. Last seems to be how you set some tags.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I'm not sure how exactly did you invoked the command-line, but I just used like this in my terminal with success:

npm pack --pack-destination="./dest"

relative path worked just fine

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!