A
A
Andrey Ivanov2019-08-16 08:48:15
Node.js
Andrey Ivanov, 2019-08-16 08:48:15

How to properly include files/folders in an npm package?

How to properly include files/folders in an npm package?
The "files": ["dist", "README.md"] field was added, but the component folder from the repository still got into the publication.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NaN, 2019-10-08
@KornevaViktoria

There should be a .gitignore file, with a list of files or folders that should not be pushed to the repository. If the question, of course, was so understood ¯\_(ツ)_/¯

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question