Files
LexAI/package.json
john kevin asprec 2c00d2e431
Some checks failed
CI — Test & Build / Test & Build (pull_request) Has been cancelled
Preview — PR Build Check / PR Preview Build (pull_request) Has been cancelled
feat(cli): add initial CLI implementation with argument parsing and prompt handling
- Created package.json and package-lock.json for CLI package.
- Implemented argument parsing in args.ts to handle various flags and commands.
- Developed main CLI logic in cli.ts to execute commands and handle errors.
- Added configuration loading from a JSON file in config.ts, with environment variable support.
- Implemented prompt resolution and provider interaction in prompt.ts.
- Added usage documentation for the CLI.
- Configured TypeScript settings in tsconfig.json for the CLI package.
- Updated README in vscode package to reflect the new CLI functionality.
- Refactored root tsconfig.json to streamline project structure.
2026-08-13 19:19:42 +08:00

36 lines
1.6 KiB
JSON

{
"name": "lexai",
"version": "1.1.0",
"private": true,
"description": "LexAI monorepo — BYO-LLM writing assistant for Chrome, VS Code, and CLI Prompt Builder",
"license": "MIT",
"engines": {
"node": ">=22"
},
"packageManager": "npm@11.13.0",
"scripts": {
"chrome:install": "npm install --prefix packages/chrome",
"chrome:dev": "npm run dev --prefix packages/chrome",
"chrome:build": "npm run build --prefix packages/chrome",
"chrome:zip": "npm run zip --prefix packages/chrome",
"chrome:typecheck": "npm run typecheck --prefix packages/chrome",
"chrome:test": "npm test --prefix packages/chrome -- --run",
"dev": "npm run chrome:dev",
"build": "npm run chrome:build",
"zip": "npm run chrome:zip",
"typecheck": "npm run chrome:typecheck",
"test": "npm run chrome:test",
"test:e2e": "npm run test:e2e --prefix packages/chrome",
"vscode:install": "npm install --prefix packages/vscode",
"vscode:build": "npm run compile --prefix packages/vscode",
"vscode:typecheck": "npm run typecheck --prefix packages/vscode",
"vscode:package": "npm run package --prefix packages/vscode",
"cli:install": "npm install --prefix packages/cli",
"cli:build": "npm run compile --prefix packages/cli",
"cli:typecheck": "npm run typecheck --prefix packages/cli",
"install:all": "npm run chrome:install && npm run vscode:install && npm run cli:install",
"typecheck:all": "npm run chrome:typecheck && npm run vscode:typecheck && npm run cli:typecheck",
"build:all": "npm run chrome:build && npm run vscode:build && npm run cli:build"
}
}