forked from pkgxdev/pkgx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
35 lines (32 loc) · 1.29 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
{
"compilerOptions": {
"allowJs": false,
"strict": true
},
"tasks": {
// runs this source checkout, args will be passed
"run": "deno run --unstable -A ./entrypoint.ts",
// you can specify paths to specific tests if you need
"test": "deno test --allow-read=$PWD,$TMPDIR,$HOME,/ --allow-env --allow-write=$TMPDIR --allow-ffi --unstable",
// ^^ ffi & unstable needed for execve.ts
// installs to ~/.local/bin/tea
"install": "deno task compile && ./tea +gnu.org/coreutils /usr/bin/sudo install -D ./tea /usr/local/bin/tea",
//--------------------------------------- ci/cd/admin
"coverage" : "scripts/run-coverage.sh",
"typecheck": "deno check --unstable ./entrypoint.ts",
"compile": "deno compile --allow-read --allow-write --allow-net --allow-run --allow-env --allow-ffi --unstable --output $INIT_CWD/tea ./entrypoint.ts"
},
"tea": {
"dependencies": {
"deno.land": "^1.33.3"
}
},
"imports": {
"is-what": "https://deno.land/x/[email protected]/src/index.ts",
"tea": "https://deno.land/x/[email protected]/mod.ts",
"tea/": "https://deno.land/x/[email protected]/src/",
"outdent": "https://deno.land/x/[email protected]/mod.ts",
"cliffy/": "https://deno.land/x/[email protected]/",
"deno/": "https://deno.land/[email protected]/"
}
}