forked from cosmiciron/vmprint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 4.79 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 4.79 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
99
100
101
102
103
{
"name": "@vmprint/engine",
"version": "1.4.0",
"description": "Deterministic typesetting engine core. Pure-JS, environment-agnostic document composition.",
"author": "cosmiciron",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/cosmiciron/vmprint.git",
"directory": "engine"
},
"bugs": {
"url": "https://github.com/cosmiciron/vmprint/issues"
},
"homepage": "https://github.com/cosmiciron/vmprint/tree/main/engine#readme",
"keywords": [
"vmprint",
"engine",
"layout",
"typesetting",
"pdf",
"document",
"pagination",
"renderer"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"!dist/**/*.map",
"!dist/**/*.spec.js",
"!dist/**/*.spec.d.ts"
],
"scripts": {
"build": "tsup",
"clean": "rimraf dist",
"check:dist": "npm run build && git diff --exit-code -- dist",
"test:modules": "tsx --conditions tsx tests/module-extractions.spec.ts",
"test:flat": "tsx --conditions tsx tests/flat-pipeline.spec.ts",
"test:scripting": "tsx --conditions tsx tests/scripting-fixtures.spec.ts",
"test:scripting-perf": "tsx --conditions tsx tests/scripting-performance.ts",
"test:scripting-perf-write": "tsx --conditions tsx tests/scripting-performance.ts --write-output",
"test:scripting-pdfs": "node tests/fixtures/scripting/generate-fixture-pdfs.mjs",
"test:scripting-refresh": "npm run test:scripting && npm run test:scripting-pdfs",
"test:strip": "tsx --conditions tsx tests/strip-layout.spec.ts",
"test:publication": "tsx --conditions tsx tests/publication-mode.spec.ts",
"test:zone-continue": "tsx --conditions tsx tests/zone-map-continue.spec.ts",
"test:standard-fonts": "tsx --conditions tsx tests/standard-fonts.spec.ts",
"test:collider-field": "tsx --conditions tsx tests/collider-field.spec.ts",
"test:engine": "tsx --conditions tsx tests/engine-regression.spec.ts",
"test:spatial-ir": "tsx --conditions tsx tests/spatial-ir-regression.spec.ts",
"test:spatial-ir-engine": "tsx --conditions tsx tests/spatial-ir-engine.spec.ts",
"test:spatial-ir-strict": "tsx --conditions tsx tests/spatial-ir-strict.spec.ts",
"test:shared-runtime-font-leak": "tsx --conditions tsx tests/shared-runtime-font-leak.spec.ts",
"measure:server": "tsx --conditions tsx scripts/text-measure-server.ts",
"test:perf": "tsx --conditions tsx tests/performance-benchmark.ts",
"test:perf-watch": "tsx --conditions tsx tests/performance-benchmark.ts --preset=watchlist --repeat=2 --warmup=1",
"test:perf-contained": "tsx --conditions tsx tests/performance-benchmark.ts --fixture=54-contained-shapes --mode=ast --profile=hot --repeat=3 --warmup=1 --runtime=warm --stress=contained-paragraphs",
"test:perf-contained-isolated": "tsx --conditions tsx tests/performance-benchmark.ts --fixture-set=performance-contained --mode=ast --profile=hot --repeat=3 --warmup=1 --runtime=warm",
"tool:compact-assembly": "tsx --conditions tsx tools/compact-exclusion-assembly.ts",
"tool:image-to-assembly": "tsx --conditions tsx tools/image-to-assembly.ts",
"wip:cat": "tsx --conditions tsx ../documents/wip/cat-circle.ts",
"wip:cat-convert": "tsx --conditions tsx ../documents/wip/cat-convert.ts",
"wip:cat-bench": "tsx --conditions tsx ../documents/wip/cat-bench.ts",
"test:update-layout-snapshots": "tsx --conditions tsx tests/engine-regression.spec.ts --update-layout-snapshots",
"proof:collector": "tsx --conditions tsx tests/proofs/generate-reactive-collector-board.ts",
"proof:geometry": "tsx --conditions tsx tests/proofs/generate-reactive-geometry-board.ts",
"proof:saucer": "tsx --conditions tsx tests/proofs/generate-saucer-flipbook.ts",
"proof:async-thought": "tsx --conditions tsx tests/proofs/generate-async-thought-board.ts",
"proof:streaming-thought": "tsx --conditions tsx tests/proofs/generate-streaming-thought-board.ts",
"test": "npm run test:modules && npm run test:flat && npm run test:scripting && npm run test:strip && npm run test:publication && npm run test:standard-fonts && npm run test:spatial-ir && npm run test:engine"
},
"dependencies": {
"bidi-js": "^1.0.3",
"dfa": "^1.2.0",
"fontkit": "^2.0.4",
"restructure": "^3.0.2",
"unicode-properties": "^1.4.1",
"unicode-trie": "^2.0.0"
},
"devDependencies": {
"@types/node": "^22.19.17",
"@vmprint/local-fonts": "*",
"@vmprint/standard-fonts": "*",
"rimraf": "^6.1.3",
"sharp": "^0.34.5",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.7.3"
},
"publishConfig": {
"access": "public"
}
}