-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.86 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.86 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
{
"name": "fontnik",
"version": "0.7.7",
"description": "A library that delivers a range of glyphs rendered as SDFs (signed distance fields) in a protobuf.",
"keywords": [
"font",
"text",
"glyph",
"freetype",
"sdf"
],
"url": "https://github.com/mapbox/node-fontnik",
"bugs": "https://github.com/mapbox/node-fontnik/issues",
"main": "index.js",
"engines": {
"node": ">=20"
},
"files": [
"index.js",
"bin",
"prebuilds",
"src",
"include",
"CMakeLists.txt",
"proto/glyphs.proto",
"scripts/install-native.js"
],
"repository": {
"type": "git",
"url": "git://github.com/mapbox/node-fontnik.git"
},
"licenses": [
{
"type": "BSD",
"url": "https://github.com/mapbox/node-fontnik/blob/main/LICENSE.txt"
}
],
"dependencies": {
"d3-queue": "^3.0.7",
"glob": "^7.1.6",
"minimist": "^1.2.5"
},
"devDependencies": {
"benchmark": "^1.0.0",
"mkdirp": "^0.5.1",
"pbf": "^1.3.5",
"protocol-buffers": "^4.1.0",
"tape": "^4.2.2"
},
"bin": {
"build-glyphs": "bin/build-glyphs",
"font-inspect": "bin/font-inspect"
},
"scripts": {
"install": "node scripts/install-native.js",
"build": "cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release} && cmake --build build",
"rebuild": "cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release} && cmake --build build",
"test": "tape test/**/*.test.js",
"check-binaries": "test -f prebuilds/darwin-arm64/fontnik.node && test -f prebuilds/darwin-x64/fontnik.node && test -f prebuilds/linux-x64/fontnik.node && test -f prebuilds/linux-arm64/fontnik.node || (echo 'Error: Missing required prebuilds for darwin-arm64, darwin-x64, linux-x64, and linux-arm64.' && exit 1)",
"prepublishOnly": "npm run check-binaries"
},
"publishConfig": {
"access": "public"
}
}