-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.76 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
{
"name": "js-font-parser",
"version": "1.0.1",
"description": "A high-quality browser typography engine for parsing, shaping, and rendering fonts in JavaScript.",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"dist-build",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=20"
},
"scripts": {
"audit:tables": "node scripts/audit-table-coverage.mjs",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts",
"check": "npm run build:dist && npm run typecheck && npm run lint && npm test && npm run audit:tables",
"test": "node scripts/run-node-tests.mjs --test",
"test:full": "FULL_SWEEP=1 node scripts/run-node-tests.mjs --test",
"test:font": "node scripts/test-font.mjs",
"test:coverage": "node scripts/run-node-tests.mjs --test --experimental-test-coverage",
"test:coverage:full": "FULL_SWEEP=1 node scripts/run-node-tests.mjs --test --experimental-test-coverage",
"test:perf": "node tests/perf-report.mjs",
"test:perf:enforce": "node tests/perf-report.mjs --enforce",
"test:perf:profile": "node tests/perf-profile.mjs",
"test:perf:memory": "node --expose-gc tests/perf-memory.mjs",
"test:golden:validate": "node tests/golden/scripts/validate-targets.mjs --targets tests/golden/targets.json",
"test:golden:capture": "node tests/golden/scripts/capture.mjs --out tests/golden/current",
"test:golden:compare": "node tests/golden/scripts/compare.mjs --base tests/golden/baseline --head tests/golden/current --out tests/golden/diff",
"test:golden:between": "node tests/golden/scripts/between-commits.mjs --targets tests/golden/targets.json",
"test:golden:approve": "node tests/golden/scripts/approve-baseline.mjs --from tests/golden/current --to tests/golden/baseline",
"build:dist": "node scripts/clean-dist.mjs && tsc",
"build:bundle": "webpack",
"build": "npm run build:dist && npm run build:bundle"
},
"keywords": [
"font",
"truetype",
"opentype",
"woff",
"woff2",
"glyph",
"typography",
"parser"
],
"author": "byteface",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/byteface/js-font-parser.git"
},
"homepage": "https://github.com/byteface/js-font-parser#readme",
"bugs": {
"url": "https://github.com/byteface/js-font-parser/issues"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"terser-webpack-plugin": "^5.4.0",
"ts-loader": "^9.5.1",
"typescript-eslint": "^8.26.1",
"typescript": "^5.9.3",
"webpack": "^5.105.4",
"webpack-cli": "^6.0.1"
}
}