mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 23:01:34 +00:00
14 lines
610 B
JSON
14 lines
610 B
JSON
{
|
|
"name": "@betternas/node-agent",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "CGO_ENABLED=0 go run ./cmd/node-agent",
|
|
"build": "mkdir -p dist && CGO_ENABLED=0 go build -o dist/betternas-node ./cmd/node-agent",
|
|
"format": "files=$(find . -name '*.go' -type f) && if [ -n \"$files\" ]; then gofmt -w $files; fi",
|
|
"format:check": "files=$(find . -name '*.go' -type f) && if [ -n \"$files\" ]; then test -z \"$(gofmt -l $files)\"; fi",
|
|
"lint": "CGO_ENABLED=0 go vet ./...",
|
|
"check-types": "CGO_ENABLED=0 go test ./...",
|
|
"test": "CGO_ENABLED=0 go test ./..."
|
|
}
|
|
}
|