forked from foliojs/fontkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.36 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
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
{
"name": "fontkit",
"version": "2.0.2",
"description": "An advanced font engine for Node and the browser",
"keywords": [
"opentype",
"font",
"typography",
"subset",
"emoji",
"glyph",
"layout"
],
"scripts": {
"test": "run-s build mocha",
"mocha": "mocha",
"build": "parcel build",
"prepublish": "run-s clean trie:** build",
"trie:data": "node src/opentype/shapers/generate-data.js",
"trie:use": "node src/opentype/shapers/gen-use.js",
"trie:indic": "node src/opentype/shapers/gen-indic.js",
"clean": "shx rm -rf src/opentype/shapers/data.trie src/opentype/shapers/use.trie src/opentype/shapers/use.json src/opentype/shapers/indic.trie src/opentype/shapers/indic.json dist",
"coverage": "c8 mocha"
},
"type": "module",
"main": "dist/main.cjs",
"node-module": "dist/module.mjs",
"browser": "dist/browser.cjs",
"module": "dist/browser-module.mjs",
"source": "src/index.js",
"exports": {
"node": {
"import": "./dist/module.mjs",
"require": "./dist/main.cjs"
},
"import": "./dist/browser-module.mjs",
"require": "./dist/browser.cjs"
},
"targets": {
"main": {
"source": "src/node.js",
"context": "browser",
"engines": {
"browsers": "chrome >= 70"
}
},
"node-module": {
"source": "src/node.js",
"isLibrary": true,
"includeNodeModules": false,
"engines": {
"browsers": "chrome >= 70"
}
},
"module": {
"source": "src/index.js",
"engines": {
"browsers": "chrome >= 70"
}
},
"browser": {
"source": "src/index.js",
"engines": {
"browsers": "chrome >= 70"
}
}
},
"files": [
"src",
"dist"
],
"author": "Devon Govett <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/foliojs/fontkit.git"
},
"dependencies": {
"@swc/helpers": "^0.4.2",
"brotli": "^1.3.2",
"clone": "^2.1.2",
"dfa": "^1.2.0",
"fast-deep-equal": "^3.1.3",
"restructure": "^3.0.0",
"tiny-inflate": "^1.0.3",
"unicode-properties": "^1.4.0",
"unicode-trie": "^2.0.0"
},
"devDependencies": {
"c8": "^7.11.3",
"codepoints": "^1.2.0",
"concat-stream": "^2.0.0",
"mocha": "^10.0.0",
"npm-run-all": "^4.1.5",
"parcel": "^2.6.1",
"shx": "^0.3.4"
}
}