llm-code-format
Version:
Parsing and serialization of multiple code files in Markdown for LLMs
55 lines (54 loc) • 1.5 kB
JSON
{
"name": "llm-code-format",
"version": "3.0.0",
"description": "Parsing and serialization of multiple code files in Markdown for LLMs",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
}
},
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
"test": "vitest run",
"prepublishOnly": "npm run build",
"typecheck": "tsc --noEmit",
"prettier": "prettier {*.*,**/*.*} --write"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/curran/llm-code-format.git"
},
"keywords": [
"LLM",
"Code",
"AI",
"Coding",
"Markdown"
],
"author": "Curran Kelleher",
"license": "MIT",
"bugs": {
"url": "https://github.com/curran/llm-code-format/issues"
},
"homepage": "https://github.com/curran/llm-code-format#readme",
"files": [
"dist",
"README.md"
],
"devDependencies": {
"@vizhub/viz-types": "^0.3.0",
"prettier": "^3.6.2",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
}
}