mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Added documentation command and settings to Node package
This commit is contained in:
parent
f8de5600e7
commit
5be7958fcb
22
jsdoc_conf.json
Normal file
22
jsdoc_conf.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"tags": {
|
||||
"allowUnknownTags": true
|
||||
},
|
||||
"source": {
|
||||
"include": [ "index.js", "src" ],
|
||||
"includePattern": ".+\\.js(doc)?$",
|
||||
"excludePattern": "(^|\\/|\\\\)_"
|
||||
},
|
||||
"opts": {
|
||||
"package": "package.json",
|
||||
"readme": "README.md"
|
||||
},
|
||||
"plugins": [],
|
||||
"templates": {
|
||||
"cleverLinks": false,
|
||||
"monospaceLinks": false,
|
||||
"default": {
|
||||
"outputSourceFiles": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -21,7 +21,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "node ./node_modules/jshint/bin/jshint src test examples interop index.js",
|
||||
"test": "node ./node_modules/mocha/bin/mocha && npm run-script lint"
|
||||
"test": "node ./node_modules/mocha/bin/mocha && npm run-script lint",
|
||||
"gen_docs": "./node_modules/.bin/jsdoc -c jsdoc_conf.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"bindings": "^1.2.0",
|
||||
@ -32,6 +33,7 @@
|
||||
"devDependencies": {
|
||||
"async": "^0.9.0",
|
||||
"google-auth-library": "^0.9.2",
|
||||
"jsdoc": "^3.3.2",
|
||||
"jshint": "^2.5.0",
|
||||
"minimist": "^1.1.0",
|
||||
"mocha": "~1.21.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user