-
Notifications
You must be signed in to change notification settings - Fork 1
/
deno.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/[email protected]/dotenv/",
"encoding/": "https://deno.land/[email protected]/encoding/",
"openai": "https://deno.land/x/[email protected]/mod.ts",
"openai/": "https://deno.land/x/[email protected]/",
"capitalize": "https://esm.sh/v135/[email protected]",
"chalk": "https://esm.sh/v135/[email protected]",
"exif": "https://esm.sh/v135/[email protected]",
"image-size": "https://esm.sh/v135/[email protected]",
"js-beautify": "https://esm.sh/v135/[email protected]",
"mkdirp": "https://esm.sh/v135/[email protected]",
"node-fetch": "https://esm.sh/v135/[email protected]",
"wasm-vips/lib/vips-es6.js": "./library/[email protected]/lib/vips-es6.js",
"archiver": "npm:[email protected]",
"htm": "https://esm.sh/v135/[email protected]",
"lit": "https://esm.sh/v135/[email protected]",
"markdown-it": "https://esm.sh/v135/[email protected]",
"markdown-it-deflist": "https://esm.sh/v135/[email protected]",
"preact": "https://esm.sh/v135/[email protected]",
"preact/": "https://esm.sh/v135/[email protected]/",
"react": "https://esm.sh/v135/[email protected]/compat",
"preact-render-to-string": "https://esm.sh/v135/[email protected]?external=preact",
"xstate": "https://esm.sh/v135/[email protected]",
"@xstate/react": "https://esm.sh/v135/@xstate/[email protected]?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"
}
}