{
  "name": "ontime-server",
  "type": "module",
  "main": "src/index.ts",
  "version": "3.0.0-alpha",
  "exports": "./src/index.js",
  "dependencies": {
    "body-parser": "^1.20.0",
    "cors": "^2.8.5",
    "dotenv": "^16.0.1",
    "express": "^4.18.2",
    "express-session": "^1.17.3",
    "express-static-gzip": "^2.1.7",
    "express-validator": "^6.14.2",
    "got": "^14.0.0",
    "lowdb": "^7.0.1",
    "multer": "^1.4.5-lts.1",
    "node-osc": "^9.0.2",
    "node-xlsx": "^0.23.0",
    "ontime-utils": "workspace:*",
    "passport": "^0.6.0",
    "passport-local": "~1.0.0",
    "ws": "^8.13.0"
  },
  "devDependencies": {
    "@types/express": "^4.17.17",
    "@types/node": "^18.11.18",
    "@types/node-osc": "^6.0.2",
    "@types/websocket": "^1.0.5",
    "@typescript-eslint/eslint-plugin": "^6.10.0",
    "@typescript-eslint/parser": "^6.10.0",
    "esbuild": "^0.19.10",
    "eslint": "^8.53.0",
    "eslint-plugin-prettier": "^5.0.1",
    "nodemon": "^2.0.20",
    "ontime-types": "workspace:*",
    "prettier": "^3.0.3",
    "shx": "^0.3.4",
    "ts-node": "^10.9.1",
    "typescript": "^5.2.2",
    "vitest": "^1.0.4"
  },
  "scripts": {
    "addversion": "node -p \"'export const ONTIME_VERSION = ' + JSON.stringify(require('../../package.json').version) + ';'\" > src/ONTIME_VERSION.js",
    "setdb": "shx cp ../../demo-db/db.json src/preloaded-db/db.json",
    "postinstall": "pnpm addversion && pnpm setdb",
    "dev": "cross-env NODE_ENV=development nodemon --exec \"ts-node-esm\" ./src/index.ts",
    "dev:inspect": "cross-env NODE_ENV=development nodemon --exec \"node --inspect --loader ts-node/esm\" ./src/index.ts",
    "dev:test": "cross-env IS_TEST=true nodemon --exec \"ts-node-esm\" ./src/index.ts",
    "prebuild": "pnpm setdb",
    "build": "pnpm prebuild && esbuild src/app.ts --log-level=error --platform=node --format=cjs --bundle --minify --outfile=dist/index.cjs",
    "build:electron": "pnpm prebuild && esbuild src/app.ts --log-level=error --platform=node --format=cjs --bundle --minify --outfile=dist/index.cjs",
    "build:local": "pnpm prebuild && esbuild src/index.ts --log-level=error --platform=node --format=cjs --bundle --minify --outfile=dist/index.cjs",
    "build:docker": "pnpm prebuild && esbuild src/index.ts --log-level=error --platform=node --format=cjs --minify --bundle --outfile=dist/docker.cjs",
    "build:localdocker": "NODE_ENV=local pnpm prebuild && esbuild src/index.ts --log-level=error --platform=node --format=cjs --minify --bundle --outfile=dist/docker.cjs",
    "build:debug": "pnpm prebuild && esbuild src/app.ts --platform=node --format=cjs --bundle --outfile=dist/index.cjs",
    "lint": "eslint . --quiet",
    "lint-staged": "eslint",
    "test": "cross-env IS_TEST=true vitest",
    "test:pipeline": "cross-env IS_TEST=true vitest run",
    "typecheck": "tsc --noEmit",
    "cleanup": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
  }
}
