mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
67 lines
2.0 KiB
JSON
67 lines
2.0 KiB
JSON
{
|
|
"name": "ontime-server",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"version": "4.5.0",
|
|
"exports": "./src/index.js",
|
|
"dependencies": {
|
|
"@googleapis/sheets": "^5.0.5",
|
|
"cookie": "1.0.2",
|
|
"cookie-parser": "1.4.7",
|
|
"cors": "2.8.5",
|
|
"dotenv": "^16.0.1",
|
|
"express": "5.1.0",
|
|
"express-static-gzip": "3.0.0",
|
|
"express-validator": "7.2.1",
|
|
"multer": "2.1.0",
|
|
"fast-equals": "^5.0.1",
|
|
"google-auth-library": "^9.4.2",
|
|
"lowdb": "^7.0.1",
|
|
"ontime-utils": "workspace:*",
|
|
"osc-min": "2.1.2",
|
|
"sanitize-filename": "^1.6.3",
|
|
"ws": "^8.18.0",
|
|
"xlsx": "^0.18.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cookie-parser": "1.4.9",
|
|
"@types/cors": "2.8.19",
|
|
"@types/express": "5.0.3",
|
|
"@types/multer": "2.1.0",
|
|
"@types/node": "catalog:",
|
|
"@types/websocket": "^1.0.5",
|
|
"@types/ws": "^8.5.10",
|
|
"@typescript-eslint/eslint-plugin": "catalog:",
|
|
"@typescript-eslint/parser": "catalog:",
|
|
"esbuild": "^0.24.0",
|
|
"eslint": "catalog:",
|
|
"eslint-plugin-prettier": "catalog:",
|
|
"ontime-types": "workspace:*",
|
|
"prettier": "catalog:",
|
|
"server-timing": "^3.3.3",
|
|
"shx": "^0.3.4",
|
|
"ts-essentials": "catalog:",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"scripts": {
|
|
"addversion": "node -p \"'export const ONTIME_VERSION = ' + JSON.stringify(require('../../package.json').version) + ';'\" > src/ONTIME_VERSION.js",
|
|
"postinstall": "pnpm addversion",
|
|
|
|
"dev": "cross-env NODE_ENV=development tsx watch ./src/index.ts",
|
|
"dev:electron": "pnpm dev",
|
|
"dev:inspect": "cross-env NODE_ENV=development tsx watch --inspect ./src/index.ts",
|
|
|
|
"lint": "eslint . --quiet",
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
"prebuild": "tsx ./scripts/bundleCss.ts && tsx ./scripts/bundleTranslation.ts",
|
|
"build": "node esbuild.js",
|
|
|
|
"test": "cross-env IS_TEST=true vitest",
|
|
"test:inspect": "cross-env IS_TEST=true vitest --inspect --no-file-parallelism",
|
|
"test:pipeline": "cross-env IS_TEST=true vitest run"
|
|
}
|
|
}
|