-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
30 lines (30 loc) · 2.08 KB
/
deno.json
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
{
"name":"@garn/tepi",
"version": "1.0.72",
"lock": false,
"exports": {
".": "./src/cli.ts"
},
"tasks": {
"dev": "TEPI_NOT_EXIT=1 deno run -A --watch ./src/cli.ts",
"debug": "TEPI_NOT_EXIT=1 deno run --inspect-brk -A ./src/cli.ts ",
"test": "NO_LOG=1 deno test -A",
"test-debug": "deno test -A --filter='code 0'",
"test-watch": "FORCE_COLOR=1 deno test -A --watch test",
"test-docker": "docker compose up --exit-code-from test --no-log-prefix --abort-on-container-exit test ",
"local": "HOST=http://localhost HOST_HTTPBIN=http://localhost:81 deno task test-watch",
"install": "deno install --global -fA --name tepi ./src/cli.ts",
"compile": "deno compile --output=dist/tepi -A src/cli.ts",
"install:x": "deno install --global --reload -Af -n tepi https://tepi.deno.dev/src/cli.ts",
"help": " deno run -A --watch ./src/cli.ts --help",
"udd": "deno run -A https://deno.land/x/nudd/cli.ts && deno task test --fail-fast",
"dnt": "deno run -A https://deno.land/x/dnt_prompt/main.ts",
"version": "deno run -A https://deno.land/x/version/index.ts",
"version:set": "deno task version patch && echo \"export const VERSION='$(cat VERSION)'\" > src/version.ts && git add src/version.ts && git commit -m 'chore: version $(cat VERSION)'",
"readme": "cat docs/started.md > README.md && cat docs/usage.md >> README.md && cat docs/syntax.md >> README.md && deno task readme:copy && git add README.md vscode-extension/README.md && git commit -m 'docs: update README.md' || true",
"readme:copy": "cp README.md vscode-extension/README.md",
"release": "deno task vhs && deno task readme && deno task version:set && git push --tags origin main && deno task publish-image && deno publish",
"publish-image": "export IMAGE_NAME=jupegarnica/tepi && export IMAGE_TAG=$(deno task version get) && docker build -t $IMAGE_NAME:$IMAGE_TAG . && docker push $IMAGE_NAME:$IMAGE_TAG && docker tag $IMAGE_NAME:$IMAGE_TAG $IMAGE_NAME:latest && docker push $IMAGE_NAME:latest",
"vhs": "bash -c 'cd vhs && vhs < demo.tape && git add ./demo.gif && git commit -m vhs' "
}
}