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

111
Views
Is it possible for Storybook to run of a separate package.json than the main build?

I think it's fairly common to have miss-matched package dependancies between you main build and storybook which is a pain and always results in downgrading packages. Which isn't a good solution as you end up using older package versions and loosing out on features/fix from the later versions.

I have ran into this on a number of occasions and i have been trying to work out a better may to handle this. First i thought create a node or bash script witch swaps out you package.json depending on if you building the main project or running storybook. This of course is another crap solution as you end up being forced to git ignore your package.lock.json to avoid accidentally committing the storybook lock file and breaking the build on the production server.

There might be multiple ways to solve this issue and it would be nice to hear others for sure.

about 4 years ago · Juan Pablo Isaza
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!