-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.47 KB
/
package.json
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
{
"name": "@cto.af/string-width",
"version": "3.2.0",
"description": "Get width of a Unicode string in fixed-width display cells, accounting for combining characters, emojis, flags, Hangul, East Asian Width, default ignorables, and a few more.",
"main": "lib/index.js",
"type": "module",
"types": "types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/cto-af/string-width.git"
},
"scripts": {
"clean": "rm -rf coverage docs types lib/widths.js",
"docs": "typedoc",
"lint": "eslint .",
"trie": "node tools/genWidthTrie.js",
"test": "c8 mocha",
"types": "tsc",
"build": "npm run trie && npm run types && npm run lint && npm run test && npm run docs && npm pack --dry-run"
},
"keywords": [
"unicocde",
"string",
"width",
"string-width",
"stringwidth"
],
"author": "Joe Hildebrand <[email protected]>",
"license": "MIT",
"devDependencies": {
"@cto.af/eslint-config": "5.1.12",
"@types/node": "22.13.5",
"c8": "10.1.3",
"eslint": "9.21.0",
"eslint-plugin-mocha": "10.5.0",
"mocha": "11.1.0",
"typedoc": "0.27.9",
"typescript": "5.7.3"
},
"dependencies": {
"@cto.af/unicode-trie": "2.0.1",
"ansi-regex": "6.1.0",
"emoji-regex": "10.4.0"
},
"pnpm": {
"overrides": {
"chokidar": "4.0.3",
"fast-glob": "3.3.3",
"foreground-child": "3.3.1"
}
},
"packageManager": "[email protected]",
"engines": {
"node": ">= 18"
}
}