{ "name": "@sesame/api", "private": true, "version": "0.1.0", "license": "AGPL-3.0-or-later", "description": "Sesame's vault-blind website account and metadata API", "scripts": { "setup": "node ./scripts/setup.mjs", "dev": "node ./scripts/dev.mjs", "build": "node ./scripts/run-go.mjs build ./...", "vet": "node ./scripts/run-go.mjs vet ./...", "test": "node ./scripts/run-go.mjs test ./...", "test:race": "node ./scripts/run-go.mjs test -race ./...", "release:contract": "node ./scripts/release-contract.test.mjs", "deploy:contract": "node ./scripts/deploy-release-contracts.test.mjs", "sync:contract": "node ./scripts/sync-boundary-contracts.test.mjs", "sync:wire": "node --test scripts/sync-wire.test.mjs", "audit:contract": "node --test scripts/audit-contracts.test.mjs scripts/advisory-exceptions-contracts.test.mjs", "governance:contract": "node ./scripts/governance-contracts.test.mjs", "setup:contract": "node ./scripts/setup-contracts.test.mjs", "selfhost:contract": "node ./scripts/selfhost-ci-contracts.test.mjs", "deploy:release": "node ./scripts/deploy-release.mjs", "release:images:build": "node ./scripts/build-release-images.mjs", "compose:smoke": "node ./scripts/compose-smoke.mjs", "selfhost:smoke": "node ./scripts/selfhost-smoke.mjs", "openapi:generate": "node ./scripts/openapi.mjs generate", "openapi:check": "node ./scripts/openapi.mjs check", "vuln:check": "node ./scripts/run-go.mjs run golang.org/x/vuln/cmd/govulncheck@v1.6.0 ./...", "lint": "npm run vet && node ./scripts/run-go.mjs run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.14.0 run ./...", "ci": "npm run release:contract && npm run deploy:contract && npm run sync:contract && npm run sync:wire && npm run audit:contract && npm run governance:contract && npm run setup:contract && npm run selfhost:contract && npm run openapi:check && npm run lint && npm run build && npm run test && npm run test:fuzz", "admin:bootstrap": "node ./scripts/admin-bootstrap.mjs", "account:invite": "node ./scripts/admin-bootstrap.mjs invite", "compose:up": "docker compose -f deploy/compose/compose.yaml up --build", "compose:down": "docker compose -f deploy/compose/compose.yaml down", "compose:config": "node ./scripts/compose-config.mjs", "test:fuzz": "node ./scripts/run-go.mjs test -run '^$' -fuzz FuzzVerifyDeviceList -fuzztime 20s ./internal/syncproto && node ./scripts/run-go.mjs test -run '^$' -fuzz FuzzVerifyHeader -fuzztime 20s ./internal/syncproto && node ./scripts/run-go.mjs test -run '^$' -fuzz FuzzRequestSignature -fuzztime 15s ./internal/syncproto && node ./scripts/run-go.mjs test -run '^$' -fuzz FuzzCheckpointVerify -fuzztime 10s ./internal/syncproto" } }