From f3c620f783d78eda572ff093421dfe39cd753a63 Mon Sep 17 00:00:00 2001 From: Kam Date: Tue, 20 Dec 2016 00:48:53 +0100 Subject: [PATCH] Update tests target --- README.md | 2 ++ package.json | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dba8388..83dc299 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ > 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. 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 diff --git a/package.json b/package.json index 5da84d9..087e38c 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,15 @@ { "name": "spectacle-docs", - "version": "0.6.1", + "version": "0.6.2", "description": "Generate beautiful static API documentation from OpenAPI/Swagger 2.0 specifications", "preferGlobal": true, "bin": { "spectacle": "bin/spectacle.js" }, "scripts": { - "build": "spectacle test/fixtures/petstore.json", - "develop": "spectacle -d test/fixtures/petstore.json", + "build": "spectacle -l test/fixtures/cheese.png test/fixtures/cheese.json", + "test": "spectacle -l test/fixtures/cheese.png test/fixtures/cheese.json", + "develop": "spectacle -d", "server": "spectacle -s" }, "repository": {