fix path and tests

This commit is contained in:
StarAppeal
2025-09-24 06:10:52 +02:00
parent 5e9f3494e7
commit 2796c465c0
7 changed files with 845 additions and 6388 deletions
+8 -4
View File
@@ -1,13 +1,14 @@
{
"name": "matrix-backend",
"version": "1.0.0",
"main": "index.js",
"type": "commonjs",
"main": "dist/index.js",
"scripts": {
"start": "tsc && cross-env NODE_ENV=development node dist/src/index.js",
"start": "cross-env NODE_ENV=development ts-node-dev --respawn --transpile-only src/index.ts",
"clean": "rimraf dist",
"build": "npm run clean & tsc",
"build": "tsc --project tsconfig.json",
"test": "vitest run",
"test:watch": "vitest run --watch",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage"
},
"keywords": [],
@@ -43,6 +44,9 @@
"cross-env": "^7.0.3",
"prettier": "^3.2.5",
"supertest": "^7.1.4",
"ts-node-dev": "^2.0.0",
"vite": "^7.1.7",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4"
}
}