We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed1607b commit 581d4beCopy full SHA for 581d4be
1 file changed
docs/lib/content/configuring-npm/package-json.md
@@ -617,6 +617,7 @@ See [semver](https://github.com/npm/node-semver#versions) for more details about
617
* `tag` A specific version tagged and published as `tag` See [`npm
618
dist-tag`](/commands/npm-dist-tag)
619
* `path/path/path` See [Local Paths](#local-paths) below
620
+* `npm:@scope/pkg@version` Custom alias for a pacakge See [`package-spec`](/using-npm/package-spec#aliases)
621
622
For example, these are all valid:
623
@@ -634,7 +635,8 @@ For example, these are all valid:
634
635
"two": "2.x",
636
"thr": "3.3.x",
637
"lat": "latest",
- "dyl": "file:../dyl"
638
+ "dyl": "file:../dyl",
639
+ "kpg": "npm:pkg@1.0.0"
640
}
641
642
```
0 commit comments