I
I
ivandao2019-07-31 11:23:09
Node.js
ivandao, 2019-07-31 11:23:09

How to make package.json with all modules and dependencies?

There is a project.
How to file package.json with all modules and dependencies if the project is located on a machine without Internet access (corporate network)? I carry packages (modules) to him on a flash drive.
npm init by default makes the name of the main file app.js, which does not correspond to reality

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2019-07-31
@Azperin

Duck, if you drag all the modules all the same, drag package.json as well. What's the point of doing init on an already created project

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question