From 681425707d7398f979ba988f605a1030ed6a04dd Mon Sep 17 00:00:00 2001 From: abe33 Date: Sun, 22 Nov 2015 00:39:10 +0100 Subject: [PATCH] Add esdoc to generate documentation for es6 version --- esdoc.json | 4 ++++ package.json | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 esdoc.json diff --git a/esdoc.json b/esdoc.json new file mode 100644 index 00000000..cb9c99e3 --- /dev/null +++ b/esdoc.json @@ -0,0 +1,4 @@ +{ + "source": "./lib", + "destination": "./pages" +} diff --git a/package.json b/package.json index 99c6f1c8..059dfcfd 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "overview" ], "scripts":{ - "standard": "standard" + "standard": "standard lib/**/*.js", + "esdoc": "esdoc -c esdoc.json" }, "contributors": [ { @@ -45,7 +46,8 @@ "underscore-plus": "1.x" }, "devDependencies": { - "standard": "^5.1.0" + "standard": "^5.1.0", + "esdoc": "^0.4.0" }, "standard": { "globals": [