Skip to content

Commit b417309

Browse files
committed
Publish to npm
npm i -g swagger-node
1 parent 79a5cc7 commit b417309

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Remember, one great thing about this approach is that all of the Swagger validat
1818
Install using npm. For complete instructions, see the [install](./docs/install.md) page.
1919

2020
```bash
21-
npm install -g swagger
21+
npm install -g swagger-node
2222
```
2323

2424
### 2. Create a new swagger project

docs/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
2-
3-
4-
## Welcome to Swagger!
1+
# Welcome to Swagger!
52

63
![alt text](./images/swagger-icon.png)
74

docs/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Here's how you install with `sudo`. If you do not wish to use `sudo`, see [Using
2222
1. Open a terminal.
2323
2. Run the install:
2424

25-
`sudo npm install -g swagger`
25+
`sudo npm install -g swagger-node`
2626

2727
**Note**: `sudo` may or may not be required with the `-g` option depending on your configuration. If you do not use `-g`, you may need to add the `swagger/bin` directory to your PATH manually. On Unix-based machines
2828
the bin directory will often be found here: `/usr/local/lib/node_modules/swagger/bin`.
@@ -32,7 +32,7 @@ the bin directory will often be found here: `/usr/local/lib/node_modules/swagger
3232
1. Open a terminal.
3333
2. Run the install:
3434

35-
`npm install -g swagger`
35+
`npm install -g swagger-node`
3636

3737
## <a name="nosudo"></a>Using npm without sudo
3838

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "swagger",
2+
"name": "swagger-node",
33
"version": "0.8.0",
44
"description": "The Swagger command-line. Provides Swagger utilities and project lifecycle support.",
55
"keywords": [

0 commit comments

Comments
 (0)