-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdeno.json
More file actions
157 lines (140 loc) · 5.46 KB
/
deno.json
File metadata and controls
157 lines (140 loc) · 5.46 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"version": "3.1.1",
"deno_version": "2.4.1",
"tasks": {
"checks": {
"command": "deno lint && deno check . && deno fmt --check"
},
"archive-all": {
"dependencies": [
"archive-win-amd64",
"archive-linux-amd64",
"archive-linux-arm64",
"archive-mac-amd64",
"archive-mac-arm64"
]
},
"archive-win-amd64": "tar -czvf dist/release-archives/cndi-win-amd64.tar.gz -C dist/win-amd64/in .",
"archive-linux-amd64": "tar -czvf dist/release-archives/cndi-linux-amd64.tar.gz -C dist/linux-amd64/in .",
"archive-linux-arm64": "tar -czvf dist/release-archives/cndi-linux-arm64.tar.gz -C dist/linux-arm64/in .",
"archive-mac-amd64": "tar -czvf dist/release-archives/cndi-mac-amd64.tar.gz -C dist/mac-amd64/in .",
"archive-mac-arm64": "tar -czvf dist/release-archives/cndi-mac-arm64.tar.gz -C dist/mac-arm64/in .",
"compile-all": {
"dependencies": [
"compile-win-amd64",
"compile-linux-amd64",
"compile-linux-arm64",
"compile-mac-amd64",
"compile-mac-arm64"
]
},
"compile-win-amd64": "deno compile --allow-all --target x86_64-pc-windows-msvc --v8-flags=--max-old-space-size=8000 --output dist/win-amd64/in/cndi.exe main.ts",
"compile-linux-arm64": "deno compile --allow-all --target aarch64-unknown-linux-gnu --v8-flags=--max-old-space-size=8000 --output dist/linux-arm64/in/cndi main.ts",
"compile-linux-amd64": "deno compile --allow-all --target x86_64-unknown-linux-gnu --v8-flags=--max-old-space-size=8000 --output dist/linux-amd64/in/cndi main.ts",
"compile-mac-arm64": "deno compile --allow-all --target aarch64-apple-darwin --v8-flags=--max-old-space-size=8000 --output dist/mac-arm64/in/cndi main.ts",
"compile-mac-amd64": "deno compile --allow-all --target x86_64-apple-darwin --v8-flags=--max-old-space-size=8000 --output dist/mac-amd64/in/cndi main.ts",
"clean-dist": {
"dependencies": [
"clean-mac-arm64",
"clean-mac-amd64",
"clean-win-amd64",
"clean-linux-amd64",
"clean-linux-arm64"
]
},
"clean-mac-amd64": "rm dist/mac-amd64/in/cndi || true && rm dist/release-archives/cndi-mac-amd64.tar.gz || true",
"clean-mac-arm64": "rm dist/mac-arm64/in/cndi || true && rm dist/release-archives/cndi-mac-arm64.tar.gz || true",
"clean-win-amd64": "rm dist/win-amd64/in/cndi.exe || true && rm dist/release-archives/cndi-win-amd64.tar.gz || true",
"clean-linux-amd64": "rm dist/linux-amd64/in/cndi || true && rm dist/release-archives/cndi-linux-amd64.tar.gz || true",
"clean-linux-arm64": "rm dist/linux-arm64/in/cndi || true && rm dist/release-archives/cndi-linux-arm64.tar.gz || true",
"build": {
"command": "deno task compile-all && deno task archive-all",
"dependencies": [
"clean-dist"
]
},
"build-linux-amd64": {
"dependencies": [
"clean-linux-amd64",
"compile-linux-amd64"
]
},
"build-linux-arm64": {
"dependencies": [
"clean-linux-arm64",
"compile-linux-arm64"
]
},
"build-mac-amd64": {
"dependencies": [
"clean-mac-amd64",
"compile-mac-amd64"
]
},
"build-mac-arm64": {
"dependencies": [
"clean-mac-arm64",
"compile-mac-arm64"
]
},
"build-win-amd64": {
"dependencies": [
"clean-win-amd64",
"compile-win-amd64"
]
},
"test": {
"command": "deno test --allow-all --shuffle --env-file=test.env --v8-flags=--max-old-space-size=8000 --parallel --fail-fast --no-check"
},
"test-slow": {
"command": "deno test --allow-all --env-file=test.env --v8-flags=--max-old-space-size=8000 --parallel"
},
"test-watch": {
"command": "deno test --allow-all --env-file=test.env --v8-flags=--max-old-space-size=8000 --watch"
},
"fix": {
"dependencies": [
"fmt",
"lint-fix"
]
},
"fmt": "deno fmt",
"lint-fix": "deno lint --fix"
},
"imports": {
"@cliffy/ansi": "jsr:@cliffy/ansi@^1.0.0-rc.8",
"@cliffy/command": "jsr:@cliffy/command@^1.0.0-rc.8",
"@cliffy/prompt": "jsr:@cliffy/prompt@^1.0.0-rc.8",
"@polyseam/cliffy-provider-gh-releases": "jsr:@polyseam/cliffy-provider-gh-releases@2.0.1",
"@polyseam/silky": "jsr:@polyseam/silky@^1.1.2",
"@std/assert": "jsr:@std/assert@^1.0.11",
"@std/async": "jsr:@std/async@^1.0.13",
"@std/cli": "jsr:@std/cli@^1.0.20",
"@std/collections": "jsr:@std/collections@^1.1.2",
"@std/dotenv": "jsr:@std/dotenv@^0.225.5",
"@std/fs": "jsr:@std/fs@^1.0.19",
"@std/io": "jsr:@std/io@^0.225.2",
"@std/jsonc": "jsr:@std/jsonc@^1.0.1",
"@std/path": "jsr:@std/path@^1.1.1",
"@std/testing": "jsr:@std/testing@^1.0.14",
"@std/yaml": "jsr:@std/yaml@^1.0.8",
"consts": "./src/constants.ts",
"crypto-js": "npm:crypto-js@4.2.0",
"deps": "./src/deps.ts",
"get-project-root": "./_here.ts",
"net-utils": "./src/utils/net.ts",
"lodash.get": "npm:lodash.get@4.4.2",
"lodash.set": "npm:lodash.set@4.3.2",
"lodash.unset": "npm:lodash.unset@4.5.2",
"simple-git": "npm:simple-git@3.27.0",
"src/": "./src/",
"test-deps": "./src/tests/deps.ts",
"px": "./src/px/mod.ts",
"validator": "npm:validator@13.12.0",
"errout": "./src/ErrOut.ts",
"versions": "./src/versions.ts",
"@cndi/known-templates": "jsr:@cndi/known-templates@^1.0.1",
"@cndi/validators": "jsr:@cndi/validators@^0.1.0"
},
"exclude": ["dist/*"]
}