On Fri, Nov 28, 2014 at 8:44 PM, juju <[email protected]> wrote: > Confused about how to run something like this with ansible ( the --save-dev > flag part). Do I manually create a package.json file in my project root > directory before using ansible to install the npm package? > > npm install gulp-ruby-sass --save-dev
We do build our package.json on developer's machine. And just run npm install on the production machine. We're even considering offloading this task to CI server and just copy the final build files to the production machine as we've had inconsistencies in npm install at times and doing it multiple times doesn't make sense in most cases. -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADTL0oaceYNTACjorbUzO%3DCz-%2BK3_3hfzYkjMR0t-EBtr45LLA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
