forked from pkgxdev/pkgx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
41 lines (38 loc) · 1.39 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
{
"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 /usr/local/bin/pkgx
"install": "deno task compile && ./pkgx +gnu.org/coreutils /usr/bin/sudo install -D ./pkgx /usr/local/bin/pkgx",
//--------------------------------------- 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/pkgx ./entrypoint.ts"
},
"pkgx": {
"dependencies": {
"deno.land": "^1.33.3"
}
},
"lint": {
"exclude": ["src/**/*.test.ts"]
},
"fmt": {
"semiColons": false
},
"imports": {
"is-what": "https://deno.land/x/[email protected]/src/index.ts",
"pkgx": "https://deno.land/x/[email protected]/mod.ts",
"pkgx/": "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]/"
}
}