83 lines · 4.8 KB · JSONRaw
{ "name": "cottondb", "private": true, "packageManager": "pnpm@10.11.0", "engines": { "node": ">=22", "pnpm": ">=10" }, "scripts": { "typecheck": "turbo typecheck", "lint": "turbo lint", "test": "turbo test", "check": "turbo typecheck lint test", "site": "pnpm --filter @cottondb/site dev", "pack:tool": "node scripts/pack-tool.mjs", "gen:page-cards": "tsx scripts/gen-page-cards.ts", "dev:defects": "tsx scripts/dev-defects.ts", "mac:cotton:build": "bash apps/cotton/scripts/build-cotton-mac.sh", "mac:cotton:publish": "bash apps/cotton/scripts/publish-cotton-mac.sh", "dev:household": "bash scripts/dev-household.sh", "dev:seed": "pnpm -s --filter @cottondb/business dev-seed", "datasets:publish": "pnpm -s --filter @cottondb/business datasets-publish", "films:seed-open": "pnpm -s --filter @cottondb/business films-seed-open", "meetings:transcribe": "cargo run -q --release --manifest-path crates/Cargo.toml -p cotton-mac --bin meetings-transcribe --", "meetings:summarise": "cargo run -q --release --manifest-path crates/Cargo.toml -p cotton-mac --bin meetings-summarise --", "books:seed-walk": "pnpm -s --filter @cottondb/business books-seed-walk", "music:drop-old": "pnpm -s --filter @cottondb/business music-drop-old", "media:cap": "pnpm -s --filter @cottondb/business media:cap", "retired:erase": "pnpm -s --filter @cottondb/business retired:erase", "film:reshape": "pnpm -s --filter @cottondb/business film-reshape", "dev:reset": "pnpm -s --filter @cottondb/business dev-seed --reset --base dev --otp-file ~/.cotton-credentials/cotton/dev-otp", "passkey:associations": "tsx apps/business/scripts/site-associations.ts", "test:scripts": "vitest run --config vitest.scripts.config.ts", "perf:fan": "vitest run --config scripts/perf/vitest.perf.config.ts --root . scripts/perf/fan.budgets.ts", "perf:lists": "vitest run --config scripts/perf/vitest.perf.config.ts --root . scripts/perf/lists.budgets.ts", "typecheck:scripts": "tsc --noEmit -p tsconfig.scripts.json", "verify:fast": "bash scripts/verify-fast.sh", "rust:verify": "bash scripts/rust-verify.sh", "rust:flake-hunt": "bash scripts/rust-flake-hunt.sh", "rust:build": "cargo build --manifest-path crates/Cargo.toml --release", "gen:swift-definitions": "python3 scripts/gen-swift-definition-types.py", "gen:stack-probe": "python3 scripts/gen-stack-probe.py", "gen:faces": "python3 scripts/gen-faces-registry.py", "gen:loom-pictures": "python3 scripts/gen-loom-pictures.py", "gen:swift-definitions:check": "python3 scripts/gen-swift-definition-types.py --check && python3 scripts/gen-swift-definition-types.py --scan", "gen:kind": "tsx scripts/gen-kind.ts", "gen:design": "BUILD_LOCK_LABEL=cotton-gen bash scripts/with-build-lock.sh cargo run --manifest-path crates/Cargo.toml -p cotton-gen", "gen:design:check": "BUILD_LOCK_LABEL=cotton-gen bash scripts/with-build-lock.sh cargo run --manifest-path crates/Cargo.toml -p cotton-gen -- --check", "gen:ffi": "COTTON_FFI_WRITE_HEADER=1 cargo test --manifest-path crates/Cargo.toml -p cotton-ffi --test header", "gen:ffi:check": "cargo test --manifest-path crates/Cargo.toml -p cotton-ffi --test header", "check:fresh-install": "cargo test --manifest-path crates/Cargo.toml -p cotton-tools --test fresh_install_flavours -- --nocapture", "ffi:stub": "bash scripts/ffi-stub.sh", "ios:project": "bash scripts/gen-ios-project.sh", "ios:test": "bash scripts/ios-test.sh", "ink:corpus": "bash scripts/ink/corpus-harness.sh", "ink:heldout": "python3 scripts/ink/corpus-heldout.py", "android:apk": "bash scripts/android-bundle.sh apk", "android:bundle": "bash scripts/android-bundle.sh bundle", "android:launch-time": "bash scripts/android-launch-time.sh", "days:marks": "python3 scripts/days-marks-draw.py", "rules:wasm": "bash scripts/rules/build-wasm.sh", "rules:catalogue": "bash scripts/rules/catalogue.sh", "hooks:install": "git config core.hooksPath scripts/git-hooks", "prepare": "git config core.hooksPath scripts/git-hooks 2>/dev/null || true", "gen:asset": "tsx scripts/gen-asset.ts", "disk:clean": "bash scripts/disk-guard.sh --force", "walk:mcp": "pnpm -s --filter @cottondb/business mcp-walk --base dev --otp-file ~/.cotton-credentials/cotton/dev-otp", "photos:measure": "cargo run -q --release --manifest-path crates/Cargo.toml -p cotton-client --bin cotton-photos-measure --", "voice:measure": "bash scripts/voice/measure.sh", "voice:fetch": "bash scripts/voice/fetch.sh", "notes:icons": "python3 scripts/draw-notes-icons.py" }, "devDependencies": { "ajv": "^6.14.0", "jose": "^6.2.2", "sharp": "^0.35.2", "tinyglobby": "^0.2.16", "tsx": "^4.21.0", "turbo": "^2.5.0", "typescript": "~5.9.2", "yaml": "^2.8.3" }}