From 422a7c7bfb5041c33bce27dff36cedd684009a55 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 4 Oct 2015 20:55:11 +0200 Subject: [PATCH] Added plato jsmetrics to package.json --- code-doc.sh | 5 ++++- package.json | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/code-doc.sh b/code-doc.sh index f293a51d..94715b3f 100644 --- a/code-doc.sh +++ b/code-doc.sh @@ -9,10 +9,13 @@ rm -rf doc mkdir doc mkdir doc/apigen mkdir doc/jsdoc +mkdir doc/plato php rsc/apigen.phar generate \ -s "src/application/controllers,src/application/models,src/application/libraries" \ -d "doc/apigen" --exclude "*external*" --tree --todo --template-theme "bootstrap" -node node_modules/.bin/jsdoc "src/assets/js" -d "doc/jsdoc" \ No newline at end of file +node node_modules/.bin/jsdoc "src/assets/js" -d "doc/jsdoc" + +node node_modules/.bin/plato -r -d "doc/plato" "src/assets/js" \ No newline at end of file diff --git a/package.json b/package.json index 249860a1..bcdfb159 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ }, "homepage": "http://easyappointments.org", "devDependencies": { - "jsdoc": "^3.3.2" + "jsdoc": "^3.3.2", + "plato": "^1.5.0" } }