Setup jsduck to run on 'npm run doc'

Change-Id: If49922acd1d8af9caac54ed46360ff6c780833ce
This commit is contained in:
Prateek Saxena 2015-08-03 15:51:44 +05:30
parent e2c78262a0
commit 07d76da27e
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
node_modules/
docs/

5
jsduck.json Normal file
View file

@ -0,0 +1,5 @@
{
"--title": "Hovercards - Documentation",
"--output": "docs",
"--": ["resources"]
}

View file

@ -1,7 +1,8 @@
{
"private": true,
"scripts": {
"test": "grunt test"
"test": "grunt test",
"doc": "jsduck"
},
"devDependencies": {
"grunt": "0.4.5",