Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to compile ts in cmd

"scripts": {
    "clean": "rimraf dist",
    "start": "npm-run-all clean --parallel watch:build watch:server --print-label",
    "watch:build": "tsc --watch",
    "watch:server": "nodemon './dist/index.js' --watch './dist'"
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #compile #ts #cmd
ADD COMMENT
Topic
Name
7+2 =