X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/2d5b700eb63669ca0a4bf27b5df58aa8af15735f..8d2ed7debf232843c1facf53fd1efdab9b36d85c:/package.json diff --git a/package.json b/package.json index 8c0401d..c1272d8 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "main": "lib/forum", "scripts": { "build": "parcel build --no-source-maps ./app/index.html", + "document": "jsdoc2md > doc/README.md", "lint": "eslint lib app bin", "linthtml": "htmlhint", "setup-hooks": "ln -s ../../scripts/git-hooks/pre-commit .git/hooks/pre-commit", @@ -28,16 +29,20 @@ "koa": "^2.11.0", "koa-send": "^5.0.0", "koa-static": "^5.0.0", - "rethinkdb": "^2.4.2" + "rethinkdb": "^2.4.2", + "uuid": "^3.3.3" }, "devDependencies": { + "@hapi/code": "^7.0.0", "@hapi/eslint-config-hapi": "^12.3.0", "@hapi/eslint-plugin-hapi": "^4.3.4", "@hapi/lab": "^21.0.0", "eslint": "^6.7.2", "htmlhint": "^0.11.0", + "jsdoc-to-markdown": "^5.0.3", "lab-markdown-reporter": "^1.0.2", "parcel-bundler": "^1.12.4", + "parcel-plugin-static-files-copy": "^2.2.1", "parcel-plugin-svelte": "^4.0.5", "svelte": "^3.16.5" }, @@ -46,5 +51,11 @@ ], "browserslist": [ "last 1 firefox version" - ] + ], + "jsdoc2md": { + "files": [ + "lib/**/*.js", + "config/**/*.js" + ] + } }