tformula 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "tformula",
3
+ "version": "0.1.0",
4
+ "description": "Render LaTeX from any CLI agent in Kitty-compatible terminals.",
5
+ "keywords": [
6
+ "terminal",
7
+ "latex",
8
+ "mathjax",
9
+ "kitty",
10
+ "ghostty",
11
+ "cli",
12
+ "ai-agent"
13
+ ],
14
+ "homepage": "https://github.com/mikewang817/TFormula#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/mikewang817/TFormula/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/mikewang817/TFormula.git"
21
+ },
22
+ "type": "module",
23
+ "bin": {
24
+ "tformula": "dist/cli.js"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "README.zh-CN.md"
29
+ ],
30
+ "scripts": {
31
+ "build": "rimraf dist && tsc -p tsconfig.json && chmod +x dist/cli.js",
32
+ "dev": "tsx src/cli.ts",
33
+ "test": "vitest run",
34
+ "check": "npm run build && npm test",
35
+ "prepack": "npm run build",
36
+ "prepublishOnly": "npm run check"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public",
40
+ "registry": "https://registry.npmjs.org/"
41
+ },
42
+ "engines": {
43
+ "node": ">=20"
44
+ },
45
+ "os": [
46
+ "darwin",
47
+ "linux"
48
+ ],
49
+ "dependencies": {
50
+ "@mathjax/src": "^4.1.3",
51
+ "@resvg/resvg-js": "^2.6.2",
52
+ "@xterm/headless": "^6.0.0",
53
+ "node-pty": "^1.1.0",
54
+ "string-width": "^8.1.0"
55
+ },
56
+ "devDependencies": {
57
+ "@types/node": "^24.0.0",
58
+ "rimraf": "^6.1.3",
59
+ "tsx": "^4.20.0",
60
+ "typescript": "^7.0.2",
61
+ "vitest": "^4.1.10"
62
+ },
63
+ "allowScripts": {
64
+ "node-pty": true
65
+ }
66
+ }