{
  "name": "tex2typst",
  "version": "0.6.2",
  "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": {
    "type-check": "tsc --project tsconfig.json --noEmit",
    "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": "cp src/exposed-types.ts dist/index.d.ts",
    "build": "npm run type-check && 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",
    "esbuild": "^0.25.1",
    "js-yaml": "^4.1.0",
    "toml": "^3.0.0",
    "typescript": "^5.5.3",
    "vitest": "^2.0.2"
  },
  "dependencies": {}
}
