]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man1/npm-publish.1
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man1 / npm-publish.1
1 .TH "NPM\-PUBLISH" "1" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-publish\fR \- Publish a package
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm publish <tarball> [\-\-tag <tag>] [\-\-access <public|restricted>]
9 npm publish <folder> [\-\-tag <tag>] [\-\-access <public|restricted>]
10 .fi
11 .RE
12 .SH DESCRIPTION
13 .P
14 Publishes a package to the registry so that it can be installed by name\. All
15 files in the package directory are included if no local \fB\|\.gitignore\fP or
16 \fB\|\.npmignore\fP file is present\. See npm help 7 \fBnpm\-developers\fP for full details on
17 what's included in the published package, as well as details on how the package
18 is built\.
19 .P
20 By default npm will publish to the public registry\. This can be overridden by
21 specifying a different default registry or using a npm help 7 \fBnpm\-scope\fP in the name
22 (see npm help 5 \fBpackage\.json\fP)\.
23 .RS 0
24 .IP \(bu 2
25 \fB<folder>\fP:
26 A folder containing a package\.json file
27 .IP \(bu 2
28 \fB<tarball>\fP:
29 A url or file path to a gzipped tar archive containing a single folder
30 with a package\.json file inside\.
31 .IP \(bu 2
32 \fB[\-\-tag <tag>]\fP
33 Registers the published package with the given tag, such that \fBnpm install
34 <name>@<tag>\fP will install this version\.  By default, \fBnpm publish\fP updates
35 and \fBnpm install\fP installs the \fBlatest\fP tag\. See npm help \fBnpm\-dist\-tag\fP for
36 details about tags\.
37 .IP \(bu 2
38 \fB[\-\-access <public|restricted>]\fP
39 Tells the registry whether this package should be published as public or
40 restricted\. Only applies to scoped packages, which default to \fBrestricted\fP\|\.
41 If you don't have a paid account, you must publish with \fB\-\-access public\fP
42 to publish scoped packages\.
43
44 .RE
45 .P
46 Fails if the package name and version combination already exists in
47 the specified registry\.
48 .P
49 Once a package is published with a given name and version, that
50 specific name and version combination can never be used again, even if
51 it is removed with npm help unpublish\.
52 .SH SEE ALSO
53 .RS 0
54 .IP \(bu 2
55 npm help 7 registry
56 .IP \(bu 2
57 npm help 7 scope
58 .IP \(bu 2
59 npm help adduser
60 .IP \(bu 2
61 npm help owner
62 .IP \(bu 2
63 npm help deprecate
64 .IP \(bu 2
65 npm help tag
66
67 .RE
68