fix path and tests
This commit is contained in:
+8
-4
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user