Created
October 19, 2019 02:25
-
-
Save angellandros/05b1078092d1481adde8159b02505cb4 to your computer and use it in GitHub Desktop.
Sample package.json scripts for TSOA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"scripts": { | |
"build:routes": "mkdir -p src/routes && tsoa routes", | |
"build:swagger": "mkdir -p api && mkdir -p api/dist && tsoa swagger", | |
"build:ts": "tsc -p src", | |
"build:all": "npm run build:routes && npm run build:swagger && npm run build:ts", | |
"server": "node dist/main.js", | |
"lint": "tslint -c tslint.json 'src/**/*.ts'" | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment