question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

automatically do npm install in build

See original GitHub issue

Can we have the option of automatically running meteor npm install during bundling?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
zoderncommented, Aug 14, 2017

Hooks will be available in Mup 1.3. I would appreciate help testing it.

You can install the beta with npm i -g mup@next. Then, in your config add:

{
  //... rest of config

  hooks: {
    'pre.deploy': { localCommand: 'npm install' }
  }
}
0reactions
znatcommented, Jun 9, 2018

Hi @WayneUong , I was wondering if you could briefly describe how you setup CD?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatically Build NPM Module On Install From Github
Automatically Build NPM Module On Install From Github · Fork / branch the repo · build locally · remove the lib/ dir from...
Read more >
npm-build
This is the plumbing command called by npm link and npm install . It should generally be called during installation, but if you...
Read more >
How to speed up npm install in your Node.js builds
Instead of using npm install in your build configuration, use npm ci ("clean install") – this command runs faster than npm install and...
Read more >
npm install | how it works - StackChief
When npm install is run with a specified package argument, it installs the package in the existing node_modules directory. You can optionally provide...
Read more >
Use npm-watch to auto build your ReactJS app - Medium
So what npm-watch actually do? npm-watch run scripts from package.json when there is any changes in your app folders or files.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found