]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/api/npm-publish.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / api / npm-publish.md
1 npm-publish(3) -- Publish a package
2 ===================================
3
4 ## SYNOPSIS
5
6     npm.commands.publish([packages,] callback)
7
8 ## DESCRIPTION
9
10 Publishes a package to the registry so that it can be installed by name.
11 Possible values in the 'packages' array are:
12
13 * `<folder>`:
14   A folder containing a package.json file
15
16 * `<tarball>`:
17   A url or file path to a gzipped tar archive containing a single folder
18   with a package.json file inside.
19
20 If the package array is empty, npm will try to publish something in the
21 current working directory.
22
23 This command could fails if one of the packages specified already exists in
24 the registry.  Overwrites when the "force" environment variable is set.
25
26 ## SEE ALSO
27
28 * npm-registry(7)
29 * npm-adduser(1)
30 * npm-owner(3)