{
  "name": "songwhip-presaves-api",
  "version": "1.0.0",
  "description": "Songwhip Presaves API",
  "private": true,
  "license": "UNLICENSED",
  "main": "client-dist/client/index.js",
  "type": "module",
  "packageManager": "pnpm@10.32.1",
  "scripts": {
    "build": "rm -rf dist && rm -rf .cache && tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
    "build:client": "cd packages/songwhip-presaves && pnpm build",
    "start": "dotenv -- env NODE_ENV=production node ./dist/index.js",
    "fix": "biome check . --fix",
    "dev": "dotenv --no-expand -- tsx watch --clear-screen=false --include src src/index.ts",
    "dev:test": "dotenv -e .env.test -- scripts/dev.sh",
    "dev:staging": "dotenv --no-expand -e .env.staging -e .env -- pnpm dev",
    "dev:production": "dotenv --no-expand -e .env.production -e .env -- pnpm dev",
    "test": "pnpm build:client && pnpm test:types && pnpm test:lint && pnpm test:unit",
    "test:types": "tsc --project tsconfig.json",
    "test:lint": "biome ci .",
    "test:unit": "vitest run --config test/unit/vitest.config.mts",
    "test:integration": "dotenv -e test/integration/.env.test -- vitest run --config test/integration/vitest.config.mts",
    "db:migrate:schema:create": "dotenv -- knex migrate:make -x ts --knexfile ./migrations/knexfile.mjs",
    "db:migrate:schema:up": "dotenv -- knex migrate:up --knexfile ./migrations/knexfile.mjs",
    "db:migrate:schema:up:ci": "scripts/run-schema-migrations.sh",
    "db:migrate:schema:down": "dotenv -- knex migrate:down --knexfile ./migrations/knexfile.mjs",
    "db:codegen": "dotenv -- zod-pg",
    "image:build": "docker build . --secret id=GITHUB_NPM_TOKEN,env=GITHUB_NPM_TOKEN -t songwhip-presaves",
    "image:run": "docker run -p 5020:5020 --env-file .env songwhip-presaves"
  },
  "dependencies": {
    "@theorchard/songwhip-utils": "^1.2.0",
    "@theorchard/songwhip-utils-auth": "^2.0.1",
    "@theorchard/songwhip-utils-email": "^1.2.1",
    "@theorchard/songwhip-utils-express": "^1.4.0",
    "@theorchard/songwhip-utils-postgres": "^2.0.0",
    "@theorchard/songwhip-utils-presaves": "^1.2.0",
    "@theorchard/songwhip-utils-privacy": "^1.0.0",
    "@theorchard/songwhip-utils-secrets": "^1.2.1",
    "@theorchard/songwhip-utils-sqs": "^1.2.1",
    "dd-trace": "^5.97.0",
    "express": "^5.2.1",
    "pg": "^8.20.0",
    "uuid": "^13.0.0",
    "zod": "^4.3.6"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.11",
    "@theorchard/songwhip-presaves": "workspace:*",
    "@types/express": "^5.0.6",
    "@types/node": "^24",
    "@types/pg": "^8.20.0",
    "@types/supertest": "^7.2.0",
    "dotenv-cli": "^11.0.0",
    "knex": "^3.2.9",
    "supertest": "^7.2.2",
    "tsc-alias": "^1.8.16",
    "tsx": "^4.21.0",
    "typescript": "^6.0.2",
    "vitest": "^4.1.4",
    "zod-pg": "^5.1.0"
  }
}