mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 08:50:33 +00:00
Setup jsduck to run on 'npm run doc'
Change-Id: If49922acd1d8af9caac54ed46360ff6c780833ce
This commit is contained in:
parent
e2c78262a0
commit
07d76da27e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
node_modules/
|
||||
docs/
|
||||
|
|
5
jsduck.json
Normal file
5
jsduck.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"--title": "Hovercards - Documentation",
|
||||
"--output": "docs",
|
||||
"--": ["resources"]
|
||||
}
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "grunt test"
|
||||
"test": "grunt test",
|
||||
"doc": "jsduck"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "0.4.5",
|
||||
|
|
Loading…
Reference in a new issue