add jsdoc3 build commands

run `npm run jsdoc` to generate api documentation in `jsdoc_build`

Change-Id: Ica8202a10b1d2c2a35453637f600501a71e412b7
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
This commit is contained in:
Yujun Zhang 2016-05-30 23:17:46 +08:00
parent 5c9e5bbeaf
commit 54fed59885
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@ pids
reports
www
doc/build
jsdoc_build

View File

@ -9,7 +9,8 @@
"posttest": "istanbul check-coverage",
"prepublish": "nsp check",
"lint": "eslint ./",
"doc": "(cd doc; make html)"
"doc": "(cd doc; make html)",
"jsdoc": "jsdoc generators -r -d jsdoc_build"
},
"keywords": [
"yeoman-generator",
@ -34,6 +35,7 @@
"eslint-config-openstack": "^2.0.0",
"istanbul": "^0.4.2",
"jasmine": "^2.4.1",
"jsdoc": "^3.4.0",
"karma": "^0.13.22",
"karma-htmlfile-reporter": "^0.2.2",
"mem-fs": "^1.1.2",