@@ -18,11 +18,9 @@ settings described in [`config`](/using-npm/config).
18
18
If you plan to publish your package, the * most* important things in your
19
19
package.json are the name and version fields as they will be required. The
20
20
name and version together form an identifier that is assumed to be
21
- completely unique. Changes to the package should come along with changes
22
- to the version. If you don't plan to publish your package, the name and
21
+ completely unique. If you don't plan to publish your package, the name and
23
22
version fields are optional.
24
-
25
- The name is what your thing is called.
23
+ The name field contains your package name.
26
24
27
25
Some rules:
28
26
@@ -52,12 +50,9 @@ A name can be optionally prefixed by a scope, e.g. `@myorg/mypackage`. See
52
50
53
51
### version
54
52
55
- If you plan to publish your package, the * most* important things in your
56
- package.json are the name and version fields as they will be required. The
57
- name and version together form an identifier that is assumed to be
58
- completely unique. Changes to the package should come along with changes
59
- to the version. If you don't plan to publish your package, the name and
60
- version fields are optional.
53
+ Changes to the package should come along with changes to the version.
54
+ You can show developers how much they need to adjust on a new update by
55
+ using [ semantic versioning] ( ../../about-semantic-versioning )
61
56
62
57
Version must be parseable by
63
58
[ node-semver] ( https://github.com/npm/node-semver ) , which is bundled with
0 commit comments