-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 2.8 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 2.8 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
{
"name": "sone",
"description": "A declarative Canvas layout engine for JavaScript with advanced rich text support.",
"version": "1.4.0",
"repository": "seanghay/sone",
"license": "Apache-2.0",
"type": "module",
"author": {
"name": "Seanghay Yath",
"email": "seanghay.dev@gmail.com",
"url": "https://github.com/seanghay"
},
"keywords": [
"canvas",
"skia-canvas",
"flexbox",
"layout",
"khmer",
"layout-engine",
"2d",
"text-rendering"
],
"sideEffects": false,
"main": "dist/node.mjs",
"module": "dist/node.mjs",
"types": "dist/node.d.mts",
"files": [
"dist"
],
"exports": {
".": {
"browser": {
"import": {
"types": "./dist/browser.d.mts",
"default": "./dist/browser.mjs"
},
"require": {
"types": "./dist/browser.d.cts",
"default": "./dist/browser.cjs"
}
},
"node": {
"import": {
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
},
"require": {
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
}
},
"import": {
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
},
"require": {
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
}
},
"./shiki": {
"import": {
"types": "./dist/shiki.d.mts",
"default": "./dist/shiki.mjs"
},
"require": {
"types": "./dist/shiki.d.cts",
"default": "./dist/shiki.cjs"
}
}
},
"scripts": {
"build": "tsdown",
"test": "vitest --run",
"test:dev": "vitest",
"lint": "tsc --noEmit",
"bench": "tsx test/benchmark.ts",
"format": "biome format --write src/ test/",
"prepublishOnly": "npm run build",
"prepack": "npm run build"
},
"devDependencies": {
"@biomejs/biome": "2.2.0",
"@types/gradient-parser": "^0.1.5",
"@types/node": "^24.12.0",
"@types/object.pick": "^1.3.4",
"@types/svg-path-bounds": "^1.0.2",
"lint-staged": "^16.1.5",
"puppeteer-core": "^24.40.0",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.19.0",
"typescript": "^5.9.2",
"vitest": "^4.1.2"
},
"peerDependencies": {
"shiki": "^4.0.2",
"skia-canvas": "^3.0.4"
},
"dependencies": {
"dequal": "^2.0.3",
"figma-squircle": "^1.1.0",
"gradient-parser": "^1.1.1",
"hyphen": "^1.14.1",
"klona": "^2.0.6",
"object.pick": "^1.3.0",
"p-memoize": "^7.1.1",
"svg-path-bounds": "^1.0.2",
"uqr": "^0.1.2",
"yoga-layout": "^3.2.1"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [
"biome check --write --no-errors-on-unmatched"
]
}
}