17 lines
578 B
JSON
17 lines
578 B
JSON
{
|
|
"name": "wacli",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.23.0",
|
|
"scripts": {
|
|
"wacli": "go run -tags sqlite_fts5 ./cmd/wacli --",
|
|
"build": "mkdir -p dist && go build -tags sqlite_fts5 -o dist/wacli ./cmd/wacli",
|
|
"start": "pnpm -s build && ./dist/wacli",
|
|
"test": "pnpm -s test:go && pnpm -s test:fts",
|
|
"test:go": "go test ./...",
|
|
"test:fts": "go test -tags sqlite_fts5 ./...",
|
|
"lint": "go vet ./...",
|
|
"format": "gofmt -w .",
|
|
"format:check": "bash -lc 'out=$(gofmt -l .); if [ -n \"$out\" ]; then echo \"$out\"; exit 1; fi'"
|
|
}
|
|
}
|