{ "exclude": ["target"], "lock": false, "tasks": { "dl:devnet": "deno run -A tasks/dl.ts", "dl:mainnet": "deno task dl:devnet --network mainnet", "pg:init": "docker run -d --name mina-archive-db -p 5432:5432 -v $(pwd)/sql_scripts:/docker-entrypoint-initdb.d -e POSTGRES_PASSWORD=whatever -e POSTGRES_USER=mina postgres", "pg:wait": "deno run -A ./tasks/pg_wait.ts", "pg:enable_logging": "deno run -A ./tasks/enable_logging.ts", "pg:apply_optimizations": "deno run -A ./tasks/search_tx_optimizations.ts --apply", "pg:drop_optimizations": "deno run -A ./tasks/search_tx_optimizations.ts --drop", "pg:up": "docker start mina-archive-db", "pg:down": "docker kill mina-archive-db", "pg:rm": "docker rm mina-archive-db", "dev:init": "deno task dl:devnet && deno task pg:enable_logging && deno task pg:init && deno task pg:wait && deno task pg:apply_optimizations", "dev": "cargo run serve --playground" }, "imports": { "@qnighy/dedent": "jsr:@qnighy/dedent@^0.1.2", "@std/assert": "jsr:@std/assert@1", "@std/async": "jsr:@std/async@^1.0.6", "@std/cache": "jsr:@std/cache@^0.1.3", "@std/cli": "jsr:@std/cli@^1.0.6", "@std/datetime": "jsr:@std/datetime@^0.225.2", "@std/dotenv": "jsr:@std/dotenv@^0.225.2", "@std/encoding": "jsr:@std/encoding@^1.0.5", "@std/fs": "jsr:@std/fs@^1.0.4", "@std/http": "jsr:@std/http@1", "@std/path": "jsr:@std/path@^1.0.6", "@std/tar": "jsr:@std/tar@^0.1.2", "@std/text": "jsr:@std/text@^1.0.7", "@types/json-schema": "npm:@types/json-schema@^7.0.15", "@types/pg": "npm:@types/pg@^8.11.10", "pg": "npm:pg@^8.13.0" }, "lint": { "rules": { "include": ["ban-untagged-todo", "guard-for-in"], "exclude": [ "ban-types", "ban-untagged-todo", "no-empty", "no-explicit-any", "no-inner-declarations", "no-namespace" ] } }, "compilerOptions": { "lib": ["deno.window"], "noFallthroughCasesInSwitch": true, "noPropertyAccessFromIndexSignature": false, "noUncheckedIndexedAccess": true } }