change start scripts
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "pm2 start dist/index.js --name 'matrix-backend'",
|
||||
"start-local": "tsc && cross-env NODE_ENV=development node dist/index.js",
|
||||
"start": "pm2 start dist/src/index.js --name 'matrix-backend'",
|
||||
"start-local": "tsc && cross-env NODE_ENV=development node dist/src/index.js",
|
||||
"clean": "rimraf dist",
|
||||
"build": "npm run clean & tsc",
|
||||
"test": "vitest run",
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
"lib": ["ES2022"],
|
||||
"skipLibCheck": true,
|
||||
"outDir": "./dist",
|
||||
"types": ["node", "vitest/globals"],
|
||||
"typeRoots": [
|
||||
"./node_modules/@types",
|
||||
"./types"
|
||||
|
||||
Reference in New Issue
Block a user