-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.jsonc
More file actions
38 lines (38 loc) · 1.12 KB
/
deno.jsonc
File metadata and controls
38 lines (38 loc) · 1.12 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
{
"name": "@tui/strings",
"version": "0.1.2",
"exports": {
".": "./mod.ts",
"./ansi_looping": "./src/ansi_looping.ts",
"./char_name": "./src/char_name.ts",
"./char_width": "./src/char_width.ts",
"./crop_end": "./src/crop_end.ts",
"./crop_start": "./src/crop_start.ts",
"./dimensions": "./src/dimensions.ts",
"./insert": "./src/insert.ts",
"./slice": "./src/slice.ts",
"./strip_styles": "./src/strip_styles.ts",
"./text_width": "./src/text_width.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@1.0.2"
},
"exclude": [
"./build/templates"
],
"lint": {
"exclude": [
"./src/char_name.ts" // we ignore this file, because its like 1MB
]
},
"publish": {
"exclude": [
"./build"
]
},
"tasks": {
"gen_width": "deno run --allow-net=www.unicode.org --allow-read=build build/gen_width.ts > src/char_width.ts && deno fmt src/char_width.ts",
"gen_names": "deno run --allow-net=www.unicode.org --allow-read=build build/gen_names.ts > src/char_name.ts && deno fmt src/char_name.ts",
"gen_all": "deno task gen_width && deno task gen_names"
}
}