1
0
Fork 0

doc support

This commit is contained in:
boyska 2022-01-30 13:49:08 +01:00
parent 8cde139866
commit eadb0fa7b6
2 changed files with 20 additions and 0 deletions

17
jsdoc.conf.json Normal file
View file

@ -0,0 +1,17 @@
{
"plugins": ["plugins/markdown.js"],
"opts": {
"template": "node_modules/docdash",
"encoding": "utf8",
"destination": "./docs"
},
"docdash": {
"static": true,
"sort": true,
"search": true,
"collapse": true,
"typedefs": false,
"removeQuotes": "none",
"scripts": []
}
}

View file

@ -14,11 +14,14 @@
"test": "npm run test:node && npm run test:browser",
"test:node": "mocha",
"test:browser": "karma start --single-run --browsers ChromeHeadless,FirefoxHeadless karma.config.js",
"docs": "jsdoc -c ./jsdoc.conf.json --package ./package.json .",
"build": "webpack"
},
"author": "",
"license": "ISC",
"devDependencies": {
"jsdoc": "^3.6.10",
"docdash": "^1.2.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"karma": "^6.3.9",