serverless-graph
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -19,3 +19,3 @@ 'use strict'; | ||
graph: { | ||
usage: "Creates a graph representation of the output for use with tools like graphviz.", | ||
usage: "Creates graphviz compatible graph output of nodes and edges. Saves to graph.out file.", | ||
lifecycleEvents: [ | ||
@@ -26,7 +26,6 @@ 'graph', | ||
horizontal: { | ||
usage: 'Graph nodes from left to right instead of top down.', | ||
shortcut: 'l', | ||
usage: 'Graph nodes from left to right instead of top down.' | ||
}, | ||
edgelabels: { | ||
usage: 'Whether or not to display edgelabels', | ||
usage: 'Display edgelabels in graph.', | ||
shortcut: 'e', | ||
@@ -33,0 +32,0 @@ } |
{ | ||
"name": "serverless-graph", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=4.0" |
@@ -9,11 +9,3 @@ Serverless Plugin Boilerplate | ||
### Get Started | ||
* cd into serverless-graph and run: | ||
``` | ||
npm link | ||
``` | ||
* cd into your Serverless Project's root folder and run: | ||
``` | ||
npm link serverless-graph | ||
``` | ||
* `npm install --save serverless-graph` | ||
* Install graphviz | ||
@@ -31,8 +23,1 @@ * Homebrew - brew install graphviz | ||
* See [Graphviz](http://www.graphviz.org/pdf/dot.1.pdf) for more information. | ||
### TODO: Getting started - make npm package | ||
* `npm install --save serverless-graph` | ||
* Add serverless-graph to the plugins section of your serverless.yml | ||
* Install graphviz | ||
* Homebrew - brew install graphviz | ||
* `sls graph {--opts} | dot -Tsvg -oexample.svg` |
9752
190
22