forked from pkgxdev/pkgx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
38 lines (35 loc) · 1.33 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
{
"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"
}
},
"fmt": {
"semiColons": false
},
"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]/"
}
}