Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

4.3 KB
Raw Blame
{
  "name": "@carbon/database",
  "devDependencies": {
    "@carbon/config": "workspace:*",
    "@supabase/postgrest-js": "catalog:",
    "@types/node": "20.19.39",
    "@types/pg": "8.15.6",
    "cookie": "catalog:",
    "dompurify": "catalog:",
    "kysely-supabase": "0.2.1",
    "npm-run-all": "catalog:",
    "react-pdf": "catalog:",
    "rimraf": "catalog:",
    "sst": "catalog:",
    "supabase": "catalog:",
    "tsup": "catalog:",
    "tsx": "catalog:",
    "typescript": "catalog:",
    "vitest": "catalog:"
  },
  "exports": {
    ".": "./src/index.ts",
    "./client": "./src/client.ts",
    "./configuration-rule": "./src/configuration-rule.ts",
    "./fetch-all": "./src/fetch-all.ts",
    "./job-quantities-engine": "./src/job-quantities-engine.ts",
    "./json": "./src/json.ts",
    "./price-trace": "./src/price-trace.ts",
    "./rows": "./src/rows.ts",
    "./methods": "./src/methods.ts",
    "./mrp-engine": "./src/mrp-engine.ts",
    "./supersession-pick": "./src/supersession-pick.ts",
    "./account-import": "./src/account-import.ts",
    "./account-import-reads": "./src/account-import-reads.ts",
    "./strict-backflush": "./src/strict-backflush.ts",
    "./supplier-part-price": "./src/supplier-part-price.ts",
    "./contract-schedule": "./src/contract-schedule.ts",
    "./contract-revenue-schedule": "./src/contract-revenue-schedule.ts",
    "./contract-position": "./src/contract-position.ts",
    "./revenue-schedule": "./src/revenue-schedule.ts",
    "./lease-months": "./src/lease-months.ts",
    "./run-journals": "./src/run-journals.ts",
    "./run-type": "./src/run-type.ts",
    "./picked-consumption": "./src/picked-consumption.ts",
    "./realtime-tables": "./src/realtime-tables.ts",
    "./posting": "./src/posting.ts",
    "./datasets": "./src/datasets/index.ts",
    "./event": "./src/event.ts",
    "./machine-time": "./src/machine-time.ts",
    "./quality": "./src/quality.ts",
    "./ratelimit": "./src/ratelimit.ts",
    "./sampling": "./src/sampling.ts",
    "./sequence": "./src/sequence.ts",
    "./serial-number-timing": "./src/serial-number-timing.ts",
    "./stock-transfer": "./src/stock-transfer.ts",
    "./receipt-serials": "./src/receipt-serials.ts",
    "./storage-objects": "./src/storage-objects.ts",
    "./seed-data": "./src/seed-data.ts",
    "./seed-workflows": "./src/datasets/tiers/workflow-definitions.ts",
    "./audit.config": "./src/audit.config.ts",
    "./audit.types": "./src/audit.types.ts",
    "./swagger-docs-schema": "./src/swagger-docs-schema.ts",
    "./dataset-assets": "./src/datasets/assets.ts",
    "./dataset-rule-fields": "./src/datasets/rule-fields.ts",
    "./precision": "./src/precision.ts",
    "./accounting-currency": "./src/accounting-currency.ts",
    "./accounting-posting": "./src/accounting-posting.ts",
    "./journal-posting-status": "./src/journal-posting-status.ts",
    "./accounting-cutover": "./src/accounting-cutover.ts",
    "./cost-relief": "./src/cost-relief.ts",
    "./accounting-cutover-dates": "./src/accounting-cutover-dates.ts",
    "./accounting-cutover-reads": "./src/accounting-cutover-reads.ts",
    "./legacy-documents": "./src/legacy-documents.ts",
    "./sales-posting-amounts": "./src/sales-posting-amounts.ts",
    "./ledger": "./src/ledger.ts",
    "./deposit-scope": "./src/deposit-scope.ts",
    "./payment-processor-fee": "./src/payment-processor-fee.ts"
  },
  "private": true,
  "scripts": {
    "clean": "rimraf .turbo node_modules dist",
    "authz": "tsx src/authz/cli.ts",
    "db:check:datasets": "tsx src/check-datasets.ts",
    "db:function:new": "supabase functions new",
    "db:init": "supabase init",
    "db:migrate:new": "supabase migration new",
    "db:seed": "tsx src/seed.ts",
    "db:seed:dev": "tsx src/seed-dev.ts",
    "deploy": "supabase link --project-ref $SUPABASE_PROJECT_ID && supabase db push",
    "lint": "biome lint --write ",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit"
  },
  "sideEffects": false,
  "version": "0.0.0",
  "dependencies": {
    "@internationalized/date": "catalog:",
    "@jitl/quickjs-singlefile-browser-release-sync": "0.32.0",
    "@supabase/supabase-js": "catalog:",
    "dotenv": "16.3.1",
    "kysely": "catalog:",
    "libpg-query": "18.1.5",
    "nanoid": "catalog:",
    "pg": "8.20.0",
    "quickjs-emscripten-core": "0.32.0",
    "sucrase": "3.35.1",
    "zod": "catalog:"
  }
}