"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"
back:
image: thecodingmachine/nodejs:12
command: yarn dev
+ #command: yarn run profile
environment:
STARTUP_COMMAND_1: yarn install
SECRET_KEY: yourSecretKey