![]() ![]() The files field is a list of files that you want to be published with your package. To see the full list, check out the npm package development section of the Node.js Reference Architecture. The following sections provide details about those fields as well as other recommendations. ![]() While name and version are the only fields that are required to publish a package, the team recommends completing a few other fields to provide more information to the user. To read more about this feature, check out the official npm documentation. This command can be modified to tailor the results to your specific organization's needs. ![]() You can even accept all the defaults by providing the -y flag when running the following command: npm init -y When starting the creation of a new package, it is recommended to use the npm init command instead of hand coding to quickly and accurately create a new package.json.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |