tex2typst
Version:
JavaScript library for converting TeX code to Typst
36 lines (35 loc) • 1.08 kB
JSON
{
"name": "tex2typst",
"version": "0.3.15",
"description": "JavaScript library for converting TeX code to Typst",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/qwinsi/tex2typst",
"license": "Apache-2.0",
"keywords": [
"LaTeX",
"Typst",
"Math",
"Markdown"
],
"scripts": {
"prebuild": "rimraf dist/",
"build:node": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js --format=esm",
"build:browser": "esbuild src/tex2typst.ts --bundle --platform=browser --outfile=dist/tex2typst.min.js --minify",
"build:types": "tsc --project ./tsconfig.json",
"build": "npm run build:node && npm run build:browser && npm run build:types",
"test": "vitest run",
"pub": "npm run build && npm run test && npm publish"
},
"devDependencies": {
"@types/node": "^20.14.10",
"js-yaml": "^4.1.0",
"rimraf": "^3.0.2",
"toml": "^3.0.0",
"typescript": "^5.5.3",
"vitest": "^2.0.2",
"esbuild": "^0.25.1"
},
"dependencies": {}
}