mirror of
https://github.com/hanzoai/account-sdk.git
synced 2026-09-24 16:55:42 +00:00
* Add @base-org/account-cli package scaffolding Establish the account-cli workspace package with build tooling, entry point, type system, and output formatting — ready for commands to be added incrementally. Made-with: Cursor * Add account-cli unit tests to fix CI Vitest exits with code 1 when no test files are found, which caused the Tests job to fail. Add tests for CLIError and the output formatting helpers. Made-with: Cursor * Fix shebang injection and license mismatch in account-cli Add postbuild script to prepend #!/usr/bin/env node to dist/index.js since tsc strips shebangs. Align license to MIT to match root package and remove non-existent LICENSE from files array. Made-with: Cursor
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "@base-org/account-cli",
|
|
"version": "0.1.0",
|
|
"description": "Base Account CLI — agent-first CLI for interacting with Base Accounts",
|
|
"keywords": [
|
|
"base",
|
|
"account",
|
|
"cli",
|
|
"agent",
|
|
"web3"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"base-account": "./dist/index.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"skills",
|
|
"README.md"
|
|
],
|
|
"repository": "https://github.com/base/account-sdk.git",
|
|
"author": "Base",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"clean": "rm -rf dist && rm -rf node_modules",
|
|
"test": "vitest run",
|
|
"prebuild": "rm -rf ./dist",
|
|
"build": "tsc -p ./tsconfig.build.json",
|
|
"postbuild": "printf '#!/usr/bin/env node\n' | cat - dist/index.js > dist/index.tmp && mv dist/index.tmp dist/index.js",
|
|
"dev": "tsc --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "biome lint .",
|
|
"format": "biome format . --write",
|
|
"format:check": "biome check . --formatter-enabled=true --linter-enabled=false --organize-imports-enabled=false"
|
|
},
|
|
"dependencies": {
|
|
"@base-org/account": "workspace:*",
|
|
"commander": "^13.0.0",
|
|
"viem": "^2.31.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.1.6",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|