chore: initial commit

This commit is contained in:
Johann Schopplich
2025-10-22 20:16:02 +02:00
commit f105551c3e
24 changed files with 6983 additions and 0 deletions

55
package.json Normal file
View File

@@ -0,0 +1,55 @@
{
"name": "@byjohann/toon",
"type": "module",
"version": "0.0.0",
"packageManager": "pnpm@10.19.0",
"description": "Token-Oriented Object Notation a token-efficient data notation for LLM prompts",
"author": "Johann Schopplich <hello@johannschopplich.com>",
"license": "MIT",
"homepage": "https://github.com/johannschopplich/toon#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/johannschopplich/toon.git"
},
"bugs": {
"url": "https://github.com/johannschopplich/toon/issues"
},
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"automd": "tsx scripts/generate-bench.ts && automd",
"build": "tsdown",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest",
"test:types": "tsc --noEmit",
"release": "bumpp"
},
"devDependencies": {
"@antfu/eslint-config": "^6.0.0",
"@types/node": "^24.9.1",
"automd": "^0.4.2",
"bumpp": "^10.3.1",
"eslint": "^9.38.0",
"gpt-tokenizer": "^3.2.0",
"tsdown": "^0.15.9",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
},
"pnpm": {
"onlyBuiltDependencies": [
"@parcel/watcher",
"esbuild"
]
}
}