{
  "name": "@naisys/erp",
  "version": "3.0.0",
  "description": "NAISYS ERP - Web UI for AI-driven order and work management",
  "type": "module",
  "main": "dist/erpServer.js",
  "bin": {
    "naisys-erp": "bin/naisys-erp.js"
  },
  "exports": {
    ".": "./dist/erpServer.js"
  },
  "scripts": {
    "clean": "npx rimraf dist client-dist .test-naisys",
    "dev": "tsx watch src/erpServer.ts",
    "build": "prisma generate && tsc",
    "bundle": "npx shx rm -rf client-dist && npx shx cp -r ../client/dist client-dist",
    "start": "node dist/erpServer.js",
    "type-check": "tsc --noEmit",
    "npm:publish:dryrun": "npm publish --dry-run",
    "npm:publish": "npm publish --access public",
    "db:generate": "prisma generate",
    "db:migrate": "prisma migrate dev",
    "db:push": "prisma db push",
    "test": "vitest run && npx playwright test"
  },
  "files": [
    "npm-shrinkwrap.json",
    "dist",
    "client-dist",
    "bin",
    ".env.example",
    "prisma.config.ts",
    "prisma/schema.prisma",
    "prisma/migrations",
    "!dist/**/*.map",
    "!dist/**/*.d.ts",
    "!dist/**/*.d.ts.map",
    "!dist/**/tests",
    "!dist/**/*.test.*"
  ],
  "dependencies": {
    "@fastify/cookie": "^11.0.2",
    "@fastify/cors": "^11.2.0",
    "@fastify/multipart": "^9.4.0",
    "@fastify/rate-limit": "^10.3.0",
    "@fastify/static": "^9.0.0",
    "@fastify/swagger": "^9.7.0",
    "@naisys/common": "3.0.0",
    "@naisys/common-node": "3.0.0",
    "@naisys/erp-shared": "3.0.0",
    "@naisys/hub-database": "3.0.0",
    "@naisys/supervisor-database": "3.0.0",
    "@prisma/adapter-better-sqlite3": "^7.5.0",
    "@prisma/client": "^7.5.0",
    "@scalar/fastify-api-reference": "^1.48.7",
    "bcryptjs": "^3.0.2",
    "dotenv": "^17.3.1",
    "fastify": "^5.8.2",
    "fastify-plugin": "^5.1.0",
    "fastify-type-provider-zod": "^6.1.0",
    "zod": "^4.3.6"
  },
  "devDependencies": {
    "@playwright/test": "^1.58.2",
    "@types/better-sqlite3": "^7.6.13",
    "@types/node": "^25.5.0",
    "@vitest/coverage-v8": "^4.1.5",
    "prisma": "^7.5.0",
    "tsx": "^4.21.0",
    "typescript": "^5.9.3",
    "vitest": "^4.1.0"
  },
  "engines": {
    "node": ">=22.0.0"
  }
}
