Add jsdoc as a dependency.

This commit is contained in:
kovacsv 2021-12-23 19:08:00 +01:00
parent 69a97d6bd0
commit 3b68f6d746
2 changed files with 24 additions and 1 deletions

View File

@ -6,10 +6,12 @@
"license": "MIT",
"devDependencies": {
"clean-css-cli": "^5.5.0",
"docdash": "^1.2.0",
"eslint": "^8.5.0",
"fantasticon": "^1.2.2",
"google-closure-compiler": "^20211201.0.0",
"http-server": "^14.0.0",
"jsdoc": "^3.6.7",
"mocha": "^9.1.3",
"oslllo-svg-fixer": "^1.4.0",
"rewire": "^6.0.0",
@ -21,7 +23,8 @@
"build": "node tools/run_python.js tools/build.py",
"update": "node tools/run_python.js tools/update.py",
"updatelibs": "npm install && node tools/run_python.js tools/updatelibs.py",
"svg": "node tools/run_python.js tools/svg.py"
"svg": "node tools/run_python.js tools/svg.py",
"doc": "jsdoc -c tools/jsdoc.json"
},
"dependencies": {
"@simonwep/pickr": "1.8.2",

20
tools/jsdoc.json Normal file
View File

@ -0,0 +1,20 @@
{
"source": {
"include": "source"
},
"opts": {
"template": "node_modules/docdash/",
"encoding": "utf8",
"destination": "build/docs/",
"recurse": true,
"verbose": true
},
"docdash" : {
"menu": {
"GitHub": {
"href":"https://github.com/kovacsv/Online3DViewer",
"target":"_blank"
}
}
}
}