New packages must not have uppercase letters in the name.The names of scoped packages can begin with a dot or an underscore.This includes the scope for scoped packages. The name must be less than or equal to 214 characters. If you don't plan to publish your package, the name and version fields are optional. Changes to the package should come along with changes to the version. The name and version together form an identifier that is assumed to be completely unique. If you plan to publish your package, the most important things in your package.json are the name and version fields as they will be required. It must be actual JSON, not just a JavaScript object literal.Ī lot of the behavior described in this document is affected by the config settings described in config. This document is all you need to know about what's required in your package.json file.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |