feat: add binary

This commit is contained in:
2026-07-04 20:20:52 +02:00
parent b6c8c93430
commit d1620f7fdb
3 changed files with 12 additions and 40 deletions
+7 -6
View File
@@ -1,11 +1,13 @@
{
"name": "graph",
"private": true,
"version": "0.0.0",
"name": "gen-doctests",
"private": false,
"version": "0.1.0",
"type": "module",
"bin": "dist/index.js",
"scripts": {
"test": "vitest --run --reporter=tree",
"build": "tsc -b && esbuild --minify --bundle src/index.ts --outdir=dist --define:import.meta.vitest=undefined --platform=node --format=esm --packages=external",
"prepublishOnly": "pnpm build",
"fmt": "prettier --write .",
"lint": "eslint .",
"preview": "vite preview"
@@ -19,13 +21,12 @@
"eslint": "^10.3.0",
"jiti": "^2.7.0",
"prettier": "^3.8.4",
"typescript": "~6.0.2",
"typescript-eslint": "^8.59.2",
"vitest": "^4.1.9"
},
"dependencies": {
"arktype": "^2.2.2",
"citty": "^0.2.2",
"picomatch": "^4.0.5"
"picomatch": "^4.0.5",
"typescript": "^6.0.3"
}
}