-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeno.jsonc
49 lines (41 loc) · 3.17 KB
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"imports": {
"dotenv/": "https://deno.land/std@0.210.0/dotenv/",
"encoding/": "https://deno.land/std@0.210.0/encoding/",
"openai": "https://deno.land/x/openai@v4.24.1/mod.ts",
"openai/": "https://deno.land/x/openai@v4.24.1/",
"capitalize": "https://esm.sh/v135/capitalize@2.0.4",
"chalk": "https://esm.sh/v135/chalk@5.3.0",
"exif": "https://esm.sh/v135/exif@0.6.0",
"image-size": "https://esm.sh/v135/image-size@1.0.2",
"js-beautify": "https://esm.sh/v135/js-beautify@1.14.11",
"mkdirp": "https://esm.sh/v135/mkdirp@3.0.1",
"node-fetch": "https://esm.sh/v135/node-fetch@3.3.2",
"wasm-vips/lib/vips-es6.js": "./library/wasm-vips@0.0.7/lib/vips-es6.js",
"archiver": "npm:archiver@6.0.1",
"htm": "https://esm.sh/v135/htm@3.1.1",
"lit": "https://esm.sh/v135/lit@3.1.0",
"markdown-it": "https://esm.sh/v135/markdown-it@14.0.0",
"markdown-it-deflist": "https://esm.sh/v135/markdown-it-deflist@3.0.0",
"preact": "https://esm.sh/v135/preact@10.19.3",
"preact/": "https://esm.sh/v135/preact@10.19.3/",
"react": "https://esm.sh/v135/preact@10.19.3/compat",
"preact-render-to-string": "https://esm.sh/v135/preact-render-to-string@6.3.1?external=preact",
"xstate": "https://esm.sh/v135/xstate@5.17.1",
"@xstate/react": "https://esm.sh/v135/@xstate/react@4.1.1?external=react,xstate"
},
"tasks": {
"dev": "deno run --watch --allow-read=./_public,./client.js,./components,./css,./data,./helpers,./machines,./_api,./_archives,./_pictures --allow-net=0.0.0.0:4000 server.js --dev",
"start": "deno run --allow-read=./_public,./client.js,./components,./css,./data,./helpers,./machines,./_api,./_archives,./_pictures --allow-net=0.0.0.0:4000 server.js",
"build": "deno run --allow-env=__TESTING_MKDIRP_PLATFORM__,__TESTING_MKDIRP_NODE_VERSION__ --allow-read=./ --allow-write=./_site --allow-sys=uid build.js",
"file-server": "cd ./_site && deno run --allow-read=./ --allow-net=0.0.0.0:4000 ../file-server.js",
"create": "deno task create:images && deno task create:albums && deno task create:archives",
"create:images": "deno run --allow-read=./ --allow-write=./_pictures create/images.js",
"create:albums": "deno run --allow-env=AZURE_COMPUTER_VISION_API_ENDPOINT,AZURE_COMPUTER_VISION_API_KEY,OPENAI_BASE_URL,OPENAI_ORG_ID,OPENAI_API_KEY --allow-read=./ --allow-write=./_api,./_pictures --allow-net=api.openai.com create/albums.js",
"create:archives": "deno run --allow-env=__TESTING_MKDIRP_PLATFORM__,__TESTING_MKDIRP_NODE_VERSION__ --allow-read=./ --allow-write=./_archives create/archives.js",
"cache": "deno cache create/albums.js && deno cache create/archives.js && deno cache create/images.js && deno cache build.js && deno cache file-server.js && deno cache server.js",
"esm:add": "deno run --allow-read=./deno.json,import_map.json --allow-write=./import_map.json --allow-net=esm.sh https://esm.sh/v135 add",
"esm:update": "deno run --allow-read=./deno.json,import_map.json --allow-write=./import_map.json --allow-net=esm.sh https://esm.sh/v135 update",
"esm:remove": "deno run --allow-read=./deno.json,import_map.json --allow-write=./import_map.json --allow-net=esm.sh https://esm.sh/v135 remove"
}
}