Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.05 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
{
"name": "fontkit",
"version": "2.0.4",
"description": "An advanced font engine for Node and the browser",
"keywords": [
"opentype",
"font",
"typography",
"subset",
"emoji",
"glyph",
"layout"
],
"scripts": {
"test": "npm run build && npm run mocha",
"mocha": "mocha",
"build": "rolldown -c",
"format": "prettier --write src test",
"format:check": "prettier --check src test",
"prepublish": "npm run clean && npm run trie:data && npm run trie:use && npm run trie:indic && npm run build",
"trie:data": "node scripts/generate-data.js",
"trie:use": "node scripts/gen-use.js",
"trie:indic": "node scripts/gen-indic.js",
"clean": "node scripts/clean.js",
"coverage": "c8 mocha"
},
"type": "module",
"sideEffects": [
"./src/base.js",
"./src/index.js",
"./src/node.js",
"./dist/node/index.js",
"./dist/browser/index.js"
],
"imports": {
"#compression": {
"node": "./src/compression/node.js",
"default": "./src/compression/browser.js"
}
},
"exports": {
".": {
"node": "./dist/node/index.js",
"default": "./dist/browser/index.js"
},
"./core": {
"node": "./dist/node/core.js",
"default": "./dist/browser/core.js"
},
"./formats/*": {
"node": "./dist/node/formats/*.js",
"default": "./dist/browser/formats/*.js"
},
"./shapers/*": {
"node": "./dist/node/shapers/*.js",
"default": "./dist/browser/shapers/*.js"
}
},
"files": [
"src",
"dist"
],
"author": "Devon Govett <devongovett@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/foliojs/fontkit.git"
},
"dependencies": {
"brotli": "^2.1.0",
"dfa": "^2.0.0",
"fflate": "^0.8.3",
"restructure": "^3.0.2",
"unicode-properties": "^2.0.1",
"unicode-trie": "^3.0.0"
},
"devDependencies": {
"c8": "^12.0.0",
"codepoints": "^1.3.0",
"concat-stream": "^2.0.0",
"mocha": "^12.0.3",
"prettier": "^3.9.9",
"rolldown": "^1.2.13"
}
}