-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.52 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.52 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
{
"name": "woff-lib",
"version": "0.0.3",
"description": "TypeScript WOFF and WOFF2 encoder and decoder",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./encode": {
"types": "./dist/encode.d.ts",
"import": "./dist/encode.js",
"require": "./dist/encode.cjs"
},
"./decode": {
"types": "./dist/decode.d.ts",
"import": "./dist/decode.js",
"require": "./dist/decode.cjs"
},
"./woff/decode": {
"types": "./dist/woff-decode.d.ts",
"import": "./dist/woff-decode.js",
"require": "./dist/woff-decode.cjs"
},
"./woff/encode": {
"types": "./dist/woff-encode.d.ts",
"import": "./dist/woff-encode.js",
"require": "./dist/woff-encode.cjs"
},
"./woff2/decode": {
"types": "./dist/woff2-decode.d.ts",
"import": "./dist/woff2-decode.js",
"require": "./dist/woff2-decode.cjs"
},
"./woff2/encode": {
"types": "./dist/woff2-encode.d.ts",
"import": "./dist/woff2-encode.js",
"require": "./dist/woff2-encode.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"LICENSE_THIRD_PARTY"
],
"engines": {
"node": ">=16"
},
"scripts": {
"build": "rolldown -c && tsc --emitDeclarationOnly --declaration --outDir dist",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run test && npm run build",
"bench": "vitest bench",
"bench:decode": "vitest bench bench/decode.bench.ts bench/decode-purejs.bench.ts",
"bench:encode": "vitest bench bench/encode.bench.ts",
"bench:woff": "vitest bench bench/woff.bench.ts",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
"keywords": [
"woff",
"woff2",
"font",
"ttf",
"otf",
"encoder",
"decoder",
"typescript",
"tree-shaking"
],
"author": "Jeremy Tribby, Countertype LLC",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/countertype/woff-lib.git"
},
"bugs": {
"url": "https://github.com/countertype/woff-lib/issues"
},
"homepage": "https://github.com/countertype/woff-lib#readme",
"devDependencies": {
"@types/node": "^22.0.0",
"rolldown": "^1.0.0-beta.6",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"dependencies": {
"brotli-lib": "^0.0.7"
}
}