mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
[backend] Add start:debug command
This commit is contained in:
parent
9a2a0b2ca8
commit
9b96b54c3c
@ -12,6 +12,7 @@
|
||||
"build": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build && yarn workspaces foreach -pitv run build && gulp",
|
||||
"build:debug": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build:debug && yarn workspaces foreach -pitv run build:debug && gulp",
|
||||
"start": "yarn workspace backend run start",
|
||||
"start:debug": "yarn workspace backend run start:debug",
|
||||
"start:test": "yarn workspace backend run start:test",
|
||||
"init": "yarn migrate",
|
||||
"migrate": "yarn workspace backend run migrate",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "node ./built/index.js",
|
||||
"start:debug": "node --heapsnapshot-signal=SIGUSR2 --inspect ./built/index.js",
|
||||
"start:test": "NODE_ENV=test node ./built/index.js",
|
||||
"migrate": "typeorm migration:run -d built/ormconfig.js",
|
||||
"revertmigration": "typeorm migration:revert -d built/ormconfig.js",
|
||||
|
Loading…
Reference in New Issue
Block a user