Kode-cli/package.json
2025-08-31 02:16:59 +08:00

47 lines
1.4 KiB
JSON

{
"name": "@shareai-lab/kode",
"version": "1.1.16",
"bin": {
"kode": "cli.js",
"kwa": "cli.js",
"kd": "cli.js"
},
"engines": {
"node": ">=20.18.1"
},
"main": "cli.js",
"author": "ShareAI-lab <ai-lab@foxmail.com>",
"license": "Apache-2.0",
"description": "AI-powered terminal assistant that understands your codebase, edits files, runs commands, and automates development workflows.",
"homepage": "https://github.com/shareAI-lab/kode",
"repository": {
"type": "git",
"url": "git+https://github.com/shareAI-lab/kode.git"
},
"bugs": {
"url": "https://github.com/shareAI-lab/kode/issues"
},
"files": [
"cli.js",
"yoga.wasm",
"dist/**/*",
"scripts/postinstall.js",
".npmrc"
],
"scripts": {
"dev": "bun run ./src/entrypoints/cli.tsx --verbose",
"build": "node scripts/build.mjs",
"clean": "rm -rf cli.js",
"prepublishOnly": "node scripts/build.mjs && node scripts/prepublish-check.js",
"postinstall": "node scripts/postinstall.js || true",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json}\"",
"lint": "eslint . --ext .ts,.tsx,.js --max-warnings 0",
"lint:fix": "eslint . --ext .ts,.tsx,.js --fix",
"test": "bun test",
"typecheck": "tsc --noEmit",
"prepare": "",
"publish:dev": "node scripts/publish-dev.js",
"publish:release": "node scripts/publish-release.js"
}
}