]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Add typedoc
[rbdr/forum] / package.json
index b8a3a8ea4dd52ae5fb0dc03c9b35f13411bd8f8e..0ec0b4f52bbee69695a083d09884a3972b7ddc07 100644 (file)
@@ -13,7 +13,8 @@
                "check": "svelte-check --tsconfig ./tsconfig.json",
                "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
                "lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
-               "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
+               "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
+    "document": "typedoc --plugin typedoc-plugin-markdown --out doc 'src/app.d.ts'"
        },
        "devDependencies": {
                "@apollo/client": "^3.6.1",
@@ -41,7 +42,7 @@
                "prettier": "^2.5.1",
                "prettier-plugin-svelte": "^2.5.0",
                "svelte": "^3.44.0",
-               "svelte-check": "^2.2.6",
+               "svelte-check": "^2.7.0",
                "svelte-i18n": "^3.3.13",
                "svelte-jester": "^2.3.2",
                "svelte-preprocess": "^4.10.6",
@@ -49,6 +50,8 @@
                "tinyduration": "^3.2.2",
                "ts-jest": "^28.0.0-next.3",
                "tslib": "^2.3.1",
+               "typedoc": "^0.22.15",
+               "typedoc-plugin-markdown": "^3.12.1",
                "typescript": "~4.6.2"
        },
        "type": "module"