Merge pull request #145 from thecodingmachine/profiling
Adding a Yarn command to profile
This commit is contained in:
commit
d6031ba5c5
@ -7,6 +7,7 @@
|
||||
"tsc": "tsc",
|
||||
"dev": "ts-node-dev --respawn --transpileOnly ./server.ts",
|
||||
"prod": "tsc && node ./dist/server.js",
|
||||
"profile": "tsc && node --prof ./dist/server.js",
|
||||
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
||||
"lint": "node_modules/.bin/eslint src/ . --ext .ts",
|
||||
"fix": "node_modules/.bin/eslint --fix src/ . --ext .ts"
|
||||
|
@ -31,6 +31,7 @@ services:
|
||||
back:
|
||||
image: thecodingmachine/nodejs:12
|
||||
command: yarn dev
|
||||
#command: yarn run profile
|
||||
environment:
|
||||
STARTUP_COMMAND_1: yarn install
|
||||
SECRET_KEY: yourSecretKey
|
||||
|
Loading…
Reference in New Issue
Block a user