-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.57 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.57 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
{
"name": "@cto.af/string-width",
"version": "5.0.1",
"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",
"files": [
"lib",
"types"
],
"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 <joe-github@cursive.net>",
"license": "MIT",
"dependencies": {
"@cto.af/unicode-trie-runtime": "3.2.9",
"ansi-regex": "~6.2.2",
"emoji-regex": "~10.6.0"
},
"devDependencies": {
"@cto.af/eslint-config": "^6.2.5",
"@cto.af/unicode-trie": "^3.2.9",
"@types/node": "^25.5.0",
"eslint": "^10.1.0",
"eslint-plugin-mocha": "^11.2.0",
"mocha": "^11.7.5",
"superc8": "^12.3.1",
"typedoc": "^0.28.17",
"typescript": "^5.9.3"
},
"packageManager": "pnpm@10.32.1",
"pnpm": {
"overrides": {
"mocha@11.7.5>diff": "8.0.3",
"mocha@11.7.5>serialize-javascript": "7.0.4"
}
},
"engines": {
"node": ">= 20"
}
}