jenkins-bot has submitted this change and it was merged.

Change subject: Setup jsduck to run on 'npm run doc'
......................................................................


Setup jsduck to run on 'npm run doc'

Change-Id: If49922acd1d8af9caac54ed46360ff6c780833ce
---
M .gitignore
A jsduck.json
M package.json
3 files changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index c2658d7..3465ead 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 node_modules/
+docs/
diff --git a/jsduck.json b/jsduck.json
new file mode 100644
index 0000000..128a970
--- /dev/null
+++ b/jsduck.json
@@ -0,0 +1,5 @@
+{
+       "--title": "Hovercards - Documentation",
+       "--output": "docs",
+       "--": ["resources"]
+}
diff --git a/package.json b/package.json
index 76e8a82..063f93f 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,8 @@
 {
   "private": true,
   "scripts": {
-    "test": "grunt test"
+    "test": "grunt test",
+    "doc": "jsduck"
   },
   "devDependencies": {
     "grunt": "0.4.5",

-- 
To view, visit https://gerrit.wikimedia.org/r/228794
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If49922acd1d8af9caac54ed46360ff6c780833ce
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Popups
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <psax...@wikimedia.org>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: Ssmith <ssm...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to