doc: add doc and test

This commit is contained in:
Julien Oculi 2024-06-04 14:58:55 +02:00
parent f8278e3b35
commit 65d949b4fa
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,8 @@
{
"tasks": {
"serve": "deno run --allow-net=\"https://git.cohabit.fr,localhost:$PORT,127.0.0.1:$PORT,0.0.0.0:$PORT\" ./server.ts"
"serve": "deno run --allow-net=\"https://git.cohabit.fr,localhost:$PORT,127.0.0.1:$PORT,0.0.0.0:$PORT\" --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL ./server.ts",
"test": "deno test --ignore=server.ts --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL --doc",
"doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts"
},
"fmt": {
"singleQuote": true,

View file

@ -3,12 +3,16 @@
"packages": {
"specifiers": {
"jsr:@std/assert@^0.226.0": "jsr:@std/assert@0.226.0",
"jsr:@std/media-types@^0.224.1": "jsr:@std/media-types@0.224.1",
"jsr:@std/path@^0.225.2": "jsr:@std/path@0.225.2"
},
"jsr": {
"@std/assert@0.226.0": {
"integrity": "0dfb5f7c7723c18cec118e080fec76ce15b4c31154b15ad2bd74822603ef75b3"
},
"@std/media-types@0.224.1": {
"integrity": "9e69a5daed37c5b5c6d3ce4731dc191f80e67f79bed392b0957d1d03b87f11e1"
},
"@std/path@0.225.2": {
"integrity": "0f2db41d36b50ef048dcb0399aac720a5348638dd3cb5bf80685bf2a745aa506",
"dependencies": [