Update tests target

This commit is contained in:
Kam 2016-12-20 00:48:53 +01:00
parent 3c4fdf2128
commit f3c620f783
2 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,8 @@
> The gentleman at REST > The gentleman at REST
[![CircleCI](https://circleci.com/gh/sourcey/spectacle.svg?style=svg)](https://circleci.com/gh/sourcey/spectacle)
Spectacle generates beautiful static HTML5 documentation from [OpenAPI](https://openapis.org)/[Swagger](http://swagger.io) 2.0 API specifications. Spectacle generates beautiful static HTML5 documentation from [OpenAPI](https://openapis.org)/[Swagger](http://swagger.io) 2.0 API specifications.
The goal of Spectacle is help you "save time and look good" by providing an extensible platform for auto generating your REST API docs. The default layout is a three column single page, similar to those The goal of Spectacle is help you "save time and look good" by providing an extensible platform for auto generating your REST API docs. The default layout is a three column single page, similar to those

View File

@ -1,14 +1,15 @@
{ {
"name": "spectacle-docs", "name": "spectacle-docs",
"version": "0.6.1", "version": "0.6.2",
"description": "Generate beautiful static API documentation from OpenAPI/Swagger 2.0 specifications", "description": "Generate beautiful static API documentation from OpenAPI/Swagger 2.0 specifications",
"preferGlobal": true, "preferGlobal": true,
"bin": { "bin": {
"spectacle": "bin/spectacle.js" "spectacle": "bin/spectacle.js"
}, },
"scripts": { "scripts": {
"build": "spectacle test/fixtures/petstore.json", "build": "spectacle -l test/fixtures/cheese.png test/fixtures/cheese.json",
"develop": "spectacle -d test/fixtures/petstore.json", "test": "spectacle -l test/fixtures/cheese.png test/fixtures/cheese.json",
"develop": "spectacle -d",
"server": "spectacle -s" "server": "spectacle -s"
}, },
"repository": { "repository": {